Name | CVE-2017-17522 |
Description | Lib/webbrowser.py in Python through 3.6.3 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL. NOTE: a software maintainer indicates that exploitation is impossible because the code relies on subprocess.Popen and the default shell=False setting |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
jython (PTS) | bullseye | 2.7.2+repack1-3 | vulnerable |
| sid, trixie, bookworm | 2.7.3+repack1-1 | vulnerable |
python2.7 (PTS) | bullseye | 2.7.18-8+deb11u1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
jython | source | wheezy | (not affected) | | | |
jython | source | (unstable) | (unfixed) | unimportant | | |
python2.6 | source | (unstable) | (unfixed) | unimportant | | |
python2.7 | source | (unstable) | (unfixed) | unimportant | | |
python3.2 | source | (unstable) | (unfixed) | unimportant | | |
python3.4 | source | (unstable) | (unfixed) | unimportant | | |
python3.5 | source | (unstable) | (unfixed) | unimportant | | |
python3.6 | source | (unstable) | (unfixed) | unimportant | | |
python3.7 | source | (unstable) | (unfixed) | unimportant | | |
Notes
[wheezy] - jython <not-affected> (Vulnerable code is not provided in the binary package)
Lib/webbrowser.py does not validate strings before launching the program
specified by the BROWSER environment variable.
https://bugs.python.org/issue32367
Hardly an issue with security impact, as the problematic code further relies
on subprocess.Popen with the default shell=False.