Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CVE–2020–15366 #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

debricked-staging[bot]
Copy link

CVE–2020–15366

Vulnerable dependency:     ajv (Yarn)    5.5.2

Vulnerable dependency:     ajv (npm)    5.5.2

Vulnerability details

Description

Improperly Controlled Modification of Dynamically-Determined Object Attributes

The software receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.

NVD

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

GitHub

Prototype Pollution in Ajv

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 details - 5.6

 

CVSS3 metrics
Attack Vector Network
Attack Complexity High
Privileges Required None
User interaction None
Scope Unchanged
Confidentiality Low
Integrity Low
Availability Low
References

    NVD - CVE-2020-15366
    Release v6.12.3 · ajv-validator/ajv · GitHub
    Tags · ajv-validator/ajv · GitHub
    HackerOne
    validate numbers in schemas during schema compilation · ajv-validator/ajv@65b2f7d · GitHub
    Prototype Pollution in Ajv · CVE-2020-15366 · GitHub Advisory Database · GitHub

 

Related information

📌 Remember! Check the changes to ensure they don't introduce any breaking changes.
📚 Read more about the CVE

 

@debricked-staging debricked-staging bot force-pushed the debricked-fix-CVE_2020_15366-020c9399787bd56a branch from 827644c to 439688a Compare March 22, 2022 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants