{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31140","published":"2022-07-11T20:15:08.747000Z","last_modified":"2026-06-17T04:44:53.380000Z","status":"Modified","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-209"],"cpes":[{"criteria":"cpe:2.3:a:cuyz:valinor:*:*:*:*:*:*:*:*","part":"a","vendor":"cuyz","product":"valinor","version_end_excluding":"0.12.0"}],"cpes_truncated":false,"vendors":["cuyz"],"products":["cuyz/valinor"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01323,"percentile":0.71043,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5pgm-3j3g-2rc7","ecosystem":"Packagist","name":"cuyz/valinor","purl":"pkg:composer/cuyz/valinor","ranges":[{"introduced":"0","fixed":"0.12.0"}],"versions":["0.1.0","0.1.1","0.10.0","0.11.0","0.2.0","0.3.0","0.4.0","0.5.0","0.6.0","0.7.0","0.8.0","0.9.0"],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2022-31140/","html_en":"/en/cve/CVE-2022-31140/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31140","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31140"},"untrusted":{"vendor_name":"Cuyz","product_name":"Valinor","desc_en":"Valinor is a PHP library that helps to map any input into a strongly-typed value object structure. Prior to version 0.12.0, Valinor can use `Throwable#getMessage()` when it should not have permission to do so. This is a problem with cases such as an SQL exception showing an SQL snippet, a database connection exception showing database IP address/username/password, or a timeout detail / out of memory detail. Attackers could use this information for potential data exfiltration, denial of service attacks, enumeration attacks, etc. Version 0.12.0 contains a patch for this vulnerability.","affected":[{"untrusted_vendor":"CuyZ","untrusted_product":"Valinor","versions":[]}],"references":[{"url":"https://github.com/CuyZ/Valinor/releases/tag/0.12.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/CuyZ/Valinor/security/advisories/GHSA-5pgm-3j3g-2rc7","tags":["Exploit","Third Party Advisory"]}]}}