CVE-2017-17524

NameCVE-2017-17524
Descriptionlibrary/www_browser.pl in SWI-Prolog 7.2.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.
SourceCVE (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 PackageReleaseVersionStatus
swi-prolog (PTS)jessie6.6.6-5vulnerable
stretch7.2.3+dfsg-6vulnerable
buster8.0.2+dfsg-3+deb10u1vulnerable
bullseye8.2.4+dfsg-1vulnerable
bookworm9.0.4+dfsg-2vulnerable
trixie9.0.4+dfsg-4vulnerable
sid9.2.8+dfsg-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
swi-prologsource(unstable)(unfixed)unimportant

Notes

https://sources.debian.org/src/swi-prolog/7.2.3+dfsg-1/library/www_browser.pl/?hl=68#L68
In wheezy it is technically possible to trigger an argument injection
vulnerability however it is quoted in an unusual way which makes it highly
unlikely that it going to be.

Search for package or bug name: Reporting problems