CVE-2023-34457

NameCVE-2023-34457
DescriptionMechanicalSoup is a Python library for automating interaction with websites. Starting in version 0.2.0 and prior to version 1.3.0, a malicious web server can read arbitrary files on the client using a `<input type="file" ...>` inside HTML form. All users of MechanicalSoup's form submission are affected, unless they took very specific (and manual) steps to reset HTML form field values. Version 1.3.0 contains a patch for this issue.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1041814

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-mechanicalsoup (PTS)bullseye0.10.0-4vulnerable
bookworm0.10.0-6vulnerable
sid, trixie1.3.0-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-mechanicalsoupsource(unstable)1.3.0-11041814

Notes

[bookworm] - python-mechanicalsoup <ignored> (Minor issue)
[bullseye] - python-mechanicalsoup <no-dsa> (Minor issue)
[buster] - python-mechanicalsoup <no-dsa> (Minor issue; invasive backport required)
https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4
https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e (v1.3.0)

Search for package or bug name: Reporting problems