ubuntu-cve-2024-49766
Vulnerability from osv_ubuntu
Published
2024-10-28 00:00
Modified
2024-10-28 16:32
Summary
Details
Werkzeug is a Web Server Gateway Interface web application library. On Python < 3.11 on Windows, os.path.isabs() does not catch UNC paths like //server/share. Werkzeug's safe_join() relies on this check, and so can produce a path that is not safe, potentially allowing unintended access to data. Applications using Python >= 3.11, or not using Windows, are not vulnerable. Werkzeug version 3.0.6 contains a patch.
References
{
"affected": [
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug?arch=src?distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10.4+dfsg1-1ubuntu1",
"0.10.4+dfsg1-1ubuntu1.1",
"0.10.4+dfsg1-1ubuntu1.2",
"0.10.4+dfsg1-1ubuntu1.2+esm1",
"0.10.4+dfsg1-1ubuntu1.2+esm2"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug?arch=src?distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.12.2+dfsg1-2",
"0.13+dfsg1-1",
"0.14.1+dfsg1-1",
"0.14.1+dfsg1-1ubuntu0.1",
"0.14.1+dfsg1-1ubuntu0.2",
"0.14.1+dfsg1-1ubuntu0.2+esm1"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug?arch=src?distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.14.1+dfsg1-4",
"0.15.6+dfsg1-1",
"0.16.0+dfsg1-1",
"0.16.1+dfsg1-1ubuntu1",
"0.16.1+dfsg1-2",
"0.16.1+dfsg1-2ubuntu0.1",
"0.16.1+dfsg1-2ubuntu0.2"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug?arch=src?distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.1+dfsg1-2",
"2.0.2+dfsg1-1",
"2.0.2+dfsg1-1ubuntu0.22.04.1",
"2.0.2+dfsg1-1ubuntu0.22.04.2"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:24.10",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug?arch=src?distro=oracular"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.1-3",
"3.0.3-1"
]
},
{
"ecosystem_specific": {
"ubuntu_priority": "medium"
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug?arch=src?distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.2.2-3",
"3.0.1-1",
"3.0.1-2",
"3.0.1-3",
"3.0.1-3ubuntu0.1"
]
}
],
"aliases": [],
"details": "Werkzeug is a Web Server Gateway Interface web application library. On Python \u003c 3.11 on Windows, os.path.isabs() does not catch UNC paths like //server/share. Werkzeug\u0027s safe_join() relies on this check, and so can produce a path that is not safe, potentially allowing unintended access to data. Applications using Python \u003e= 3.11, or not using Windows, are not vulnerable. Werkzeug version 3.0.6 contains a patch.",
"id": "UBUNTU-CVE-2024-49766",
"modified": "2024-10-28T16:32:16Z",
"published": "2024-10-28T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-49766"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-49766"
},
{
"type": "REPORT",
"url": "https://github.com/pallets/werkzeug/security/advisories/GHSA-f9vj-2wh5-fj8j"
},
{
"type": "REPORT",
"url": "https://github.com/pallets/werkzeug/commit/87cc78a25f782f8c59fbde786840a00cf0d09b3d"
},
{
"type": "REPORT",
"url": "https://github.com/pallets/werkzeug/commit/2767bcb10a7dd1c297d812cc5e6d11a474c1f092"
},
{
"type": "REPORT",
"url": "https://github.com/pallets/werkzeug/releases/tag/3.0.6"
}
],
"related": [
"CVE-2024-49766"
],
"schema_version": "1.6.3",
"withdrawn": "2025-06-23T15:59:18Z"
}
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…