GSD-2023-31543
Vulnerability from gsd - Updated: 2023-12-13 01:20Details
A dependency confusion in pipreqs v0.3.0 to v0.4.11 allows attackers to execute arbitrary code via uploading a crafted PyPI package to the chosen repository server.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2023-31543",
"id": "GSD-2023-31543"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2023-31543"
],
"details": "A dependency confusion in pipreqs v0.3.0 to v0.4.11 allows attackers to execute arbitrary code via uploading a crafted PyPI package to the chosen repository server.",
"id": "GSD-2023-31543",
"modified": "2023-12-13T01:20:29.832713Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2023-31543",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "A dependency confusion in pipreqs v0.3.0 to v0.4.11 allows attackers to execute arbitrary code via uploading a crafted PyPI package to the chosen repository server."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/bndr/pipreqs/pull/364",
"refsource": "MISC",
"url": "https://github.com/bndr/pipreqs/pull/364"
},
{
"name": "https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe",
"refsource": "MISC",
"url": "https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003e=0.3.0,\u003c0.4.12",
"affected_versions": "All versions starting from 0.3.0 before 0.4.12",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-427",
"CWE-78",
"CWE-937"
],
"date": "2023-07-11",
"description": "A dependency confusion in pipreqs v0.3.0 to v0.4.11 allows attackers to execute arbitrary code via uploading a crafted PyPI package to the chosen repository server.",
"fixed_versions": [
"0.4.12"
],
"identifier": "CVE-2023-31543",
"identifiers": [
"GHSA-v4f4-23wc-99mh",
"CVE-2023-31543"
],
"not_impacted": "All versions before 0.3.0, all versions starting from 0.4.12",
"package_slug": "pypi/pipreqs",
"pubdate": "2023-06-30",
"solution": "Upgrade to version 0.4.12 or above.",
"title": "Uncontrolled Search Path Element",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2023-31543",
"https://github.com/bndr/pipreqs/pull/364",
"https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe",
"https://github.com/bndr/pipreqs/commit/3f5964fcb90ec6eb6df46d78e651a1b73538d0ba",
"https://github.com/bndr/pipreqs/blob/master/pipreqs/pipreqs.py#L447-L449",
"https://github.com/pypa/advisory-database/tree/main/vulns/pipreqs/PYSEC-2023-99.yaml",
"https://github.com/advisories/GHSA-v4f4-23wc-99mh"
],
"uuid": "1d415359-af27-4954-8c60-901ac7fdff8b"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:pipreqs_project:pipreqs:*:*:*:*:*:python:*:*",
"cpe_name": [],
"versionEndIncluding": "0.4.11",
"versionStartIncluding": "0.3.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2023-31543"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "A dependency confusion in pipreqs v0.3.0 to v0.4.11 allows attackers to execute arbitrary code via uploading a crafted PyPI package to the chosen repository server."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-427"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/bndr/pipreqs/pull/364",
"refsource": "MISC",
"tags": [
"Exploit",
"Mitigation",
"Patch",
"Vendor Advisory"
],
"url": "https://github.com/bndr/pipreqs/pull/364"
},
{
"name": "https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe",
"refsource": "MISC",
"tags": [
"Exploit",
"Mitigation",
"Third Party Advisory"
],
"url": "https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-07-10T16:18Z",
"publishedDate": "2023-06-30T20:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…