Valinor error messages leading to potential data exfiltration
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-209.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| CuyZ | Valinor | before 0.12.0 | 0.12.0 | Patch available | CNA |
| — | cuyz/valinor (Packagist) | before 0.12.0 | 0.12.0 | Patch available | GHSA-5pgm-3j3g-2rc7 |
- Valinor VendorCuyZ Affected before 0.12.0 Fixed in 0.12.0 Patch available CNA
- cuyz/valinor (Packagist) Vendor— Affected before 0.12.0 Fixed in 0.12.0 Patch available GHSA-5pgm-3j3g-2rc7
Remediation
- Fix · CNA Valinor (CuyZ) Fixed in 0.12.0
- Fix · GHSA-5pgm-3j3g-2rc7 cuyz/valinor (Packagist) Fixed in 0.12.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31140
- 2026-10-03 Alias added: GHSA-5pgm-3j3g-2rc7
References
Sources
- CVE-2022-31140 · CVE Program
- CVE-2022-31140 · NVD
- FIRST EPSS
- GHSA-5pgm-3j3g-2rc7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences