CVE-2022-31140
HIGHDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 64% of all known CVEs.
References
Related Vulnerabilities
Other CWE-209 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-29059 | High | 7.5 | 99% | KEV | - |
| CVE-2021-22145 | Medium | 6.5 | 76% | - | - |
| CVE-2010-3332 | Medium | 6.4 | 67% | - | - |
| CVE-2025-62168 | Critical | 10.0 | 63% | - | Fix |
| CVE-2013-7331 | Medium | 6.5 | 58% | KEV | - |
| CVE-2025-47813 | Medium | 4.3 | 56% | KEV | Fix |
Embed a live status badge for CVE-2022-31140
Markdown
[](https://tridentstack.com/cve/CVE-2022-31140)HTML
<a href="https://tridentstack.com/cve/CVE-2022-31140"><img src="https://tridentstack.com/cve/badge/CVE-2022-31140.svg" alt="CVE-2022-31140"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.