CVE-2020-15366

Aliases:GHSA-v88g-cgmw-v5xw
Advisory lineage Upstream: 0 Downstream: 9
Modified
Published: 15 Jul 2020, 19:14
Last modified:04 Aug 2024, 13:15

Vulnerability Summary

Overall Risk (default)
medium
27/100
CVSS Score
6.8 MEDIUM
v2.0 (nvd)
EPSS Score
0.33% LOW
0% probability -0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

15 Jul 2020, 19:14
Published
Vulnerability first disclosed
04 Aug 2024, 13:15
Last Modified
Vulnerability information updated

Description

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.)

CVSS Metrics

  • v3.1MEDIUMScore: 5.6CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
  • v2.0MEDIUMScore: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 0.33% Percentile: 56%

Techniques & Countermeasures

  • CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

    The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Affected Systems

  • ajv.jsajv

    6.12.2

  • Npmajv

    < 6.12.3

References (8)