ubuntu-cve-2024-47068
Vulnerability from osv_ubuntu
Published
2024-09-23 16:15
Modified
2026-05-20 15:12
Summary
Details
Rollup is a module bundler for JavaScript. Versions prior to 2.79.2, 3.29.5, and 4.22.4 are susceptible to a DOM Clobbering vulnerability when bundling scripts with properties from import.meta (e.g., import.meta.url) in cjs/umd/iife format. The DOM Clobbering gadget can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an img tag with an unsanitized name attribute) are present. Versions 2.79.2, 3.29.5, and 4.22.4 contain a patch for the vulnerability.
Severity
6.1 (Medium)
6.1 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rollup",
"binary_version": "1.12.0-2build3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "node-rollup",
"purl": "pkg:deb/ubuntu/node-rollup@1.12.0-2build3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.50.0-6build3",
"0.68.2-2",
"1.12.0-2build2",
"1.12.0-2build3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rollup",
"binary_version": "2.61.1-5"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "node-rollup",
"purl": "pkg:deb/ubuntu/node-rollup@2.61.1-5?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.38.4-1",
"2.42.1-2",
"2.61.1-5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rollup",
"binary_version": "3.29.4-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "node-rollup",
"purl": "pkg:deb/ubuntu/node-rollup@3.29.4-3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.28.0-2",
"3.29.4-2",
"3.29.4-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rollup",
"binary_version": "3.29.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "node-rollup",
"purl": "pkg:deb/ubuntu/node-rollup@3.29.5-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.29.5-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "rollup",
"binary_version": "3.30.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "node-rollup",
"purl": "pkg:deb/ubuntu/node-rollup@3.30.0-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.29.5-1",
"3.30.0-1"
]
}
],
"aliases": [],
"details": "Rollup is a module bundler for JavaScript. Versions prior to 2.79.2, 3.29.5, and 4.22.4 are susceptible to a DOM Clobbering vulnerability when bundling scripts with properties from `import.meta` (e.g., `import.meta.url`) in `cjs`/`umd`/`iife` format. The DOM Clobbering gadget can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an `img` tag with an unsanitized `name` attribute) are present. Versions 2.79.2, 3.29.5, and 4.22.4 contain a patch for the vulnerability.",
"id": "UBUNTU-CVE-2024-47068",
"modified": "2026-05-20T15:12:32Z",
"published": "2024-09-23T16:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-47068"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-47068"
},
{
"type": "REPORT",
"url": "https://github.com/rollup/rollup/security/advisories/GHSA-gcx4-mw62-g8wm"
},
{
"type": "REPORT",
"url": "https://github.com/rollup/rollup/commit/2ef77c00ec2635d42697cff2c0567ccc8db34fb4"
},
{
"type": "REPORT",
"url": "https://github.com/rollup/rollup/commit/e2552c9e955e0a61f70f508200ee9f752f85a541"
},
{
"type": "REPORT",
"url": "https://github.com/rollup/rollup/commit/2ef77c00ec2635d42697cff2c0567ccc8db34fb4"
},
{
"type": "REPORT",
"url": "https://github.com/rollup/rollup/commit/e2552c9e955e0a61f70f508200ee9f752f85a541"
},
{
"type": "REPORT",
"url": "https://github.com/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L157-L162"
},
{
"type": "REPORT",
"url": "https://github.com/rollup/rollup/blob/b86ffd776cfa906573d36c3f019316d02445d9ef/src/ast/nodes/MetaProperty.ts#L180-L185"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-47068"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…