CVE-2022-31140
Last modified
CVE-2022-31140 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 1.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cuyz | Valinor | < 0.12.0 |
References
- https://github.com/CuyZ/Valinor/releases/tag/0.12.0Release Notes, Third Party Advisory
- https://github.com/CuyZ/Valinor/security/advisories/GHSA-5pgm-3j3g-2rc7Exploit, Third Party Advisory
- https://github.com/CuyZ/Valinor/releases/tag/0.12.0Release Notes, Third Party Advisory
- https://github.com/CuyZ/Valinor/security/advisories/GHSA-5pgm-3j3g-2rc7Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31140?
How severe is CVE-2022-31140?
How do I fix CVE-2022-31140?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-31135Akashi is an open source server implementation of the Attorn…7.5
- CVE-2022-31136Bookwyrm is an open source social reading and reviewing prog…6.1
- CVE-2022-31137Roxy-WI is a web interface for managing Haproxy, Nginx, Apac…9.8
- CVE-2022-31138mailcow is a mailserver suite. Prior to mailcow-dockerized v…8.8
- CVE-2022-31139UnsafeAccessor (UA) is a bridge to access jdk.internal.misc.…7.5
- CVE-2022-3114An issue was discovered in the Linux kernel through 5.16-rc6…5.5
- CVE-2022-31142@fastify/bearer-auth is a Fastify plugin to require bearer A…7.5
- CVE-2022-31143GLPI stands for Gestionnaire Libre de Parc Informatique and …5.3
- CVE-2022-31144Redis is an in-memory database that persists on disk. A spec…8.8
- CVE-2022-31145FlyteAdmin is the control plane for Flyte responsible for ma…6.5
- CVE-2022-31146Wasmtime is a standalone runtime for WebAssembly. There is a…8.8
- CVE-2022-31147The jQuery Validation Plugin (jquery-validation) provides dr…7.5
Are you affected by CVE-2022-31140?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
