CVE-2022-31140

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31140
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31140.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-31140
Aliases
Published
2022-07-11T20:15:08Z
Modified
2024-10-12T09:39:36.231761Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/cuyz/valinor

Affected ranges

Type
GIT
Repo
https://github.com/cuyz/valinor
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.10.0
0.11.0
0.3.0
0.4.0
0.5.0
0.6.0
0.7.0
0.8.0
0.9.0