CVE-2022-24822: @podium/layout Denial of Service Vulnerability
HIGHCVE-2022-24822 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-248: Uncaught Exception) affecting @podium/layout libraries in the npm ecosystem. The issue involves denial of service vulnerability in @podium/layout and @podium/proxy. Remediation is available by upgrading affected packages to version 4.6.110, 4.2.74.
CVE-2022-24822 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2022-24822
To remediate this vulnerability, upgrade all affected @podium/layout dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @podium/layout@4.6.110
npm install @podium/proxy@4.2.74
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @podium/layout
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2022-24822, inspect your project dependencies using npm:
npm ls @podium/layout
Analyze the terminal output to locate any version of @podium/layout in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.110), your application is affected.
Note: The npm ls @podium/layout command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-248: Uncaught Exception, where an exception is thrown from a function, but it is not caught. In @podium/layout, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-24822 Affected @podium/layout Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@podium/layout
|
npm |
< 4.6.110
|
4.6.110
|
|
@podium/proxy
|
npm |
< 4.2.74
|
4.2.74
|
References
Frequently Asked Questions
What is CVE-2022-24822?
Which @podium/layout versions are affected?
What version fixes CVE-2022-24822?
Is @podium/layout affected?
Is @podium/proxy affected?
What is the CVSS score of CVE-2022-24822?
What CWE is associated with CVE-2022-24822?
How can I check npm dependencies for CVE-2022-24822?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3hjg-vc7r-rcrw",
"modified" : "2022-04-07T15:20:23Z",
"published" : "2022-04-07T15:20:23Z",
"aliases" : [ "CVE-2022-24822" ],
"summary" : "Denial of Service vulnerability in @podium/layout and @podium/proxy",
"details" : "### Impact\nAn attacker using the `Trailer` header as part of the request against proxy endpoints has the ability to take down the server.\nAll Podium layouts that include podlets with proxy endpoints are affected.\n\n### Patches\n`@podium/layout` which is the main way developers/users are vulnerable to this exploit, has been patched in version `4.6.110`. All earlier versions are vulnerable.\n`@podium/proxy` which is the source of the vulnerability and is used by `@podium/layout` has been patched in version `4.2.74`. All earlier versions are vulnerable.\n\n### Workarounds\nIt is not easily possible to work around this issue without upgrading. We recommend upgrading `@podium/layout` and/or `@podium/proxy` as soon as possible.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [podium-lib/issues](https://github.com/podium-lib/issues)\n\n### Credits\nThe vulnerability was reported by [krynos](https://hackerone.com/krynos) from [Ercoli Consulting](https://www.ercoliconsulting.eu/) via FINN.no's private bug bounty program\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@podium/layout"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.6.110"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@podium/proxy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.2.74"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/podium-lib/proxy/security/advisories/GHSA-3hjg-vc7r-rcrw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24822"
}, {
"type" : "WEB",
"url" : "https://github.com/podium-lib/layout/commit/fe43e655432b0a5f07b6475f67babcc2588fb039"
}, {
"type" : "WEB",
"url" : "https://github.com/podium-lib/proxy/commit/9698a40df081217ce142d4de71f929baaa339cdf"
}, {
"type" : "WEB",
"url" : "https://github.com/podium-lib/layout/releases/tag/v4.6.110"
}, {
"type" : "WEB",
"url" : "https://github.com/podium-lib/proxy/releases/tag/v4.2.74"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-248" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-04-07T15:20:23Z",
"nvd_published_at" : "2022-04-06T18:15:00Z"
}
}