CVE-2022-24822
📋 TL;DR
This vulnerability in Podium's @podium/layout and @podium/proxy modules allows attackers to cause denial of service by sending specially crafted HTTP requests with Trailer headers. All Podium layouts that include podlets with proxy endpoints are affected, potentially taking down the entire server.
💻 Affected Systems
- @podium/layout
- @podium/proxy
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Complete server unavailability leading to service disruption for all users
Likely Case
Targeted denial of service affecting specific proxy endpoints
If Mitigated
Minimal impact with proper rate limiting and monitoring
🎯 Exploit Status
Exploitation requires sending HTTP requests with Trailer headers to proxy endpoints
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: @podium/layout 4.6.110+, @podium/proxy 4.2.74+
Vendor Advisory: https://github.com/podium-lib/proxy/security/advisories/GHSA-3hjg-vc7r-rcrw
Restart Required: Yes
Instructions:
1. Update @podium/layout to 4.6.110 or higher
2. Update @podium/proxy to 4.2.74 or higher
3. Restart the application server
4. Verify no breaking changes in release notes
🔧 Temporary Workarounds
No effective workaround
allThe advisory states no easy workaround exists without upgrading
🧯 If You Can't Patch
- Implement WAF rules to block or sanitize Trailer headers
- Deploy rate limiting on proxy endpoints to reduce attack impact
🔍 How to Verify
Check if Vulnerable:
Check package.json for @podium/layout version < 4.6.110 or @podium/proxy version < 4.2.74
Check Version:
npm list @podium/layout @podium/proxy
Verify Fix Applied:
Confirm package.json shows @podium/layout >= 4.6.110 and @podium/proxy >= 4.2.74
📡 Detection & Monitoring
Log Indicators:
- Unusual server crashes or restarts
- HTTP requests with Trailer headers to proxy endpoints
Network Indicators:
- HTTP requests containing Trailer header to /proxy/ endpoints
SIEM Query:
http.headers contains "Trailer" AND url contains "/proxy/"
🔗 References
- https://github.com/podium-lib/layout/commit/fe43e655432b0a5f07b6475f67babcc2588fb039
- https://github.com/podium-lib/layout/releases/tag/v4.6.110
- https://github.com/podium-lib/proxy/commit/9698a40df081217ce142d4de71f929baaa339cdf
- https://github.com/podium-lib/proxy/releases/tag/v4.2.74
- https://github.com/podium-lib/proxy/security/advisories/GHSA-3hjg-vc7r-rcrw
- https://github.com/podium-lib/layout/commit/fe43e655432b0a5f07b6475f67babcc2588fb039
- https://github.com/podium-lib/layout/releases/tag/v4.6.110
- https://github.com/podium-lib/proxy/commit/9698a40df081217ce142d4de71f929baaa339cdf
- https://github.com/podium-lib/proxy/releases/tag/v4.2.74
- https://github.com/podium-lib/proxy/security/advisories/GHSA-3hjg-vc7r-rcrw