Medium
python-cloudscraper — security advisory
An issue in the component js2py.disable_pyimport() of js2py up to v0.74 allows attackers to execute arbitrary code via a crafted API call.
- Products
- python-cloudscraper
- Affected versions
- 1.2.69-1, 1.2.69-2, 1.2.71~git20230426.cbb3c0ea-1, 1.2.71~git20230426.cbb3c0ea-1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2024-28397
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:07 UTC · Revision 1
Source evidence
An issue in the component js2py.disable_pyimport() of js2py up to v0.74 allows attackers to execute arbitrary code via a crafted API call.
osv:UBUNTU-CVE-2024-28397
python-cloudscraper
Fixed versions: Not specified
python-cloudscraper
Fixed versions: Not specified
python-cloudscraper
Fixed versions: Not specified
python-cloudscraper
Fixed versions: Not specified
Complete source record
{
"id": "794233e06d6718d90a1cfeb8feef2acd549d2989cc75279c6ae4a33ba1a1e051",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-28397",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-28397",
"summary": "An issue in the component js2py.disable_pyimport() of js2py up to v0.74 allows attackers to execute arbitrary code via a crafted API call.",
"evidence": "osv:UBUNTU-CVE-2024-28397",
"products": [
{
"name": {
"value": "python-cloudscraper",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.69-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.2.69-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.2.71~git20230426.cbb3c0ea-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-cloudscraper",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.71~git20230426.cbb3c0ea-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-cloudscraper",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.71~git20230426.cbb3c0ea-1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-cloudscraper",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.71~git20230426.cbb3c0ea-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.71~git20230426.cbb3c0ea-1build1",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2024-28397",
"aliases": [
"UBUNTU-CVE-2024-28397"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-cloudscraper",
"purl": "pkg:deb/ubuntu/python-cloudscraper?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.2.69-1",
"1.2.69-2",
"1.2.71~git20230426.cbb3c0ea-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28397.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cloudscraper",
"binary_version": "1.2.71~git20230426.cbb3c0ea-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-cloudscraper",
"purl": "pkg:deb/ubuntu/python-cloudscraper?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.2.71~git20230426.cbb3c0ea-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28397.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cloudscraper",
"binary_version": "1.2.71~git20230426.cbb3c0ea-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-cloudscraper",
"purl": "pkg:deb/ubuntu/python-cloudscraper?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.2.71~git20230426.cbb3c0ea-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28397.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cloudscraper",
"binary_version": "1.2.71~git20230426.cbb3c0ea-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-cloudscraper",
"purl": "pkg:deb/ubuntu/python-cloudscraper?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.2.71~git20230426.cbb3c0ea-1",
"1.2.71~git20230426.cbb3c0ea-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28397.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cloudscraper",
"binary_version": "1.2.71~git20230426.cbb3c0ea-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:33.216164330Z",
"provider": "osv",
"upstream": [
"CVE-2024-28397"
],
"references": [
"https://ubuntu.com/security/CVE-2024-28397",
"https://www.cve.org/CVERecord?id=CVE-2024-28397",
"https://github.com/Marven11",
"https://github.com/Marven11/CVE-2024-28397-js2py-Sandbox-Escape"
]
},
"related_cves": [
{
"value": "CVE-2024-28397",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355791,
"published_at": "2024-06-20T17:15:00+00:00"
}