{"id":"CVE-2022-31140","published":"2022-07-11T19:55:09Z","modified":"2025-04-22T17:49:30Z","title":"Valinor error messages leading to potential data exfiltration","vendor":"CuyZ","product":"Valinor","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01486,"percentile":0.74671,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/CuyZ/Valinor/security/advisories/GHSA-5pgm-3j3g-2rc7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/CuyZ/Valinor/releases/tag/0.12.0","tags":["x_refsource_MISC"]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":14.93},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"cuyz","affectedVersions":[{"vendor":"CuyZ","product":"Valinor","versions":["< 0.12.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T15:40:23.748293Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"cuyz/valinor","vulnerableRanges":["<0.12.0"],"patched":["0.12.0"],"from":["GHSA-5pgm-3j3g-2rc7"],"provenance":"source"}],"summary":{"text":"Valinor, a PHP library for mapping input into strongly-typed value objects, leaks sensitive information because versions before 0.12.0 expose the raw Throwable#getMessage() output in error messages. An attacker with network access and no authentication or user interaction can trigger these errors to obtain details such as SQL snippets, database connection information, or timeout and memory details.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:02Z"},"euvd":{"id":"EUVD-2022-6251","exploited":false,"provenance":"source"}}