GHSA-v88g-cgmw-v5xw

Suggest an improvement
Source
https://github.com/advisories/GHSA-v88g-cgmw-v5xw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-v88g-cgmw-v5xw/GHSA-v88g-cgmw-v5xw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v88g-cgmw-v5xw
Aliases
Published
2022-02-10T23:30:59Z
Modified
2024-06-21T21:33:48Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Prototype Pollution in Ajv
Details

An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)

References

Affected packages

npm / ajv

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.3