{"id":"CVE-2022-31246","sourceIdentifier":"cve@mitre.org","published":"2022-06-17T14:15:08.127","lastModified":"2026-06-17T04:45:12.677","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"paymentrequest.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."},{"lang":"es","value":"El archivo paymentrequest.py en Electrum versiones anteriores a 4.2.2, permite una URL file:// en el parámetro r de una petición de pago (por ejemplo, dentro de los datos del código QR). En Windows, esto puede conllevar a una captura de credenciales a través de SMB. En Linux y UNIX, puede conllevar a una denegación de servicio al especificar el nombre de archivo /dev/cero"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-88"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:electrum:electrum:*:*:*:*:*:*:*:*","versionEndExcluding":"4.2.2","matchCriteriaId":"4C9EA996-54C5-46F8-96EE-F44B1E972B09"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*","matchCriteriaId":"A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}],"references":[{"url":"https://github.com/spesmilo/electrum/security/advisories/GHSA-4fh4-hx35-r355","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://twitter.com/ElectrumWallet/status/1534540879905665028","source":"cve@mitre.org","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/spesmilo/electrum/security/advisories/GHSA-4fh4-hx35-r355","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://twitter.com/ElectrumWallet/status/1534540879905665028","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]}]}