Sensitive-data disclosure via unfiltered constructor exceptions
Published Jul 11, 2022 · Updated Apr 22, 2025
Information disclosure in CuyZ Valinor before 0.12.0 allows remote attackers to expose exception text through crafted mapped input. During mapping, the library automatically wraps exceptions thrown by user-defined constructors and copies Throwable::getMessage() into traversable node messages without an explicit trust decision. Exposure requires a consuming application to map attacker-controlled input and return those messages; leaked text can contain SQL, hostnames, usernames, passwords, or runtime details.
Summary
What happened
Information disclosure in CuyZ Valinor before 0.12.0 allows remote attackers to expose exception text through crafted mapped input. During mapping, the library automatically wraps exceptions thrown by user-defined constructors and copies Throwable::getMessage() into traversable node messages without an explicit trust decision. Exposure requires a consuming application to map attacker-controlled input and return those messages; leaked text can contain SQL, hostnames, usernames, passwords, or runtime details.
The record
- CVE
- CVE-2022-31140
- Published
- Jul 11, 2022
- Updated
- Apr 22, 2025
- Vendor
- CuyZ
- Product
- Valinor
- Classifications
- CWE-209
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 11, 2022CVE publishedPublication date reported by the CVE source.
- Apr 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.12.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-5pgm-3j3g-2rc7 mapping-error reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo