CVE-2022-31246

NameCVE-2022-31246
Descriptionpaymentrequest.py in Electrum before 4.2.2 allows a file:// URL in the r parameter of a payment request (e.g., within QR code data). On Windows, this can lead to capture of credentials over SMB. On Linux and UNIX, it can lead to a denial of service by specifying the /dev/zero filename.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, 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
electrum (PTS)bookworm4.3.4+dfsg1-1+deb12u1fixed
trixie4.5.8+ds-6fixed
forky4.8.1+dfsg-1fixed
sid4.8.3+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
electrumsource(unstable)4.3.2+dfsg1-1

Notes

https://github.com/spesmilo/electrum/security/advisories/GHSA-4fh4-hx35-r355
Fixed by: https://github.com/spesmilo/electrum/commit/b247aa5ffef0f9ef000772fcf9cd9c7141abded8 (4.2.2)

Search for package or bug name: Reporting problems