Bug 1212933 (CVE-2023-31543)

Summary: VUL-0: CVE-2023-31543: python-pipreqs: dependency confusion allows attackers to execute arbitrary code via uploading a crafted PyPI package
Product: [Novell Products] SUSE Security Incidents Reporter: Robert Frohl <rfrohl>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: meissner, python-maintainers, steven.kowalik
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/371008/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Robert Frohl 2023-07-03 06:50:02 UTC
CVE-2023-31543

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-31543
https://www.cve.org/CVERecord?id=CVE-2023-31543
https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe
https://github.com/bndr/pipreqs/pull/364
Comment 2 Robert Frohl 2023-07-03 06:51:41 UTC
affects Factory and Backports
Comment 3 OBSbugzilla Bot 2023-07-10 05:55:03 UTC
This is an autogenerated message for OBS integration:
This bug (1212933) was mentioned in
https://build.opensuse.org/request/show/1097856 Factory / python-pipreqs
Comment 4 OBSbugzilla Bot 2023-07-14 03:15:04 UTC
This is an autogenerated message for OBS integration:
This bug (1212933) was mentioned in
https://build.opensuse.org/request/show/1098582 Backports:SLE-15-SP4 / python-pipreqs
Comment 5 Marcus Meissner 2023-07-14 08:09:39 UTC
fix for openSUSE:Backports:SLE-15-SP5:Update/python-pipreqs

also needed
Comment 6 OBSbugzilla Bot 2023-07-18 07:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1212933) was mentioned in
https://build.opensuse.org/request/show/1099186 Backports:SLE-15-SP5 / python-pipreqs
Comment 8 Andrea Mattiazzo 2024-06-07 12:20:43 UTC
All done, closing.