Skip to content

Conversation

@debricked
Copy link

@debricked debricked bot commented May 27, 2025

CVE–2021–23440

Vulnerability details

Description

Access of Resource Using Incompatible Type ('Type Confusion')

The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.

NVD

This affects the package set-value before <2.0.1, >=3.0.0 <4.0.1. A type confusion vulnerability can lead to a bypass of CVE-2019-10747 when the user-provided keys used in the path parameter are arrays.

GitHub

Prototype Pollution in set-value

This affects the package set-value. A type confusion vulnerability can lead to a bypass of CVE-2019-10747 when the user-provided keys used in the path parameter are arrays.

GitLab Advisory Database (Open Source Edition)

Access of Resource Using Incompatible Type ('Type Confusion')

This affects the package set-value before <2.0.1, >=3.0.0 <4.0.1. A type confusion vulnerability can lead to a bypass of CVE-2019-10747 when the user-provided keys used in the path parameter are arrays.

CVSS details - 9.8

 

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

    Prototype Pollution in set-value ?? CVE-2021-23440 ?? GitHub Advisory Database ?? GitHub
    NVD - CVE-2021-23440
    nuget/set-value-nuget/CVE-2021-23440.yml · main · GitLab.org / GitLab Advisory Database Open Source Edition · GitLab
    npm/set-value/CVE-2021-23440.yml · main · GitLab.org / GitLab Advisory Database Open Source Edition · GitLab
    huntr - The world’s first bug bounty platform for AI/ML
    Security Fix for Prototype Pollution by ready-research · Pull Request #33 · jonschlinkert/set-value · GitHub
    4.0.1 ?? jonschlinkert/set-value@7cf8073 ?? GitHub
    Comparing jonschlinkert:HEAD...ready-research:ready-research-Prototype-Pollution ?? jonschlinkert/set-value ?? GitHub
    GitHub - jonschlinkert/set-value: Set nested properties on an object using dot-notation.
    Oracle Critical Patch Update Advisory - January 2022
    ensure only valid keys are used ?? jonschlinkert/set-value@cb12f14 ?? GitHub
    Security Fix for Prototype Pollution by ready-research ?? Pull Request #33 ?? jonschlinkert/set-value ?? GitHub
    back port patch for 4.0.1 ?? jonschlinkert/set-value@09c4b10 ?? GitHub

 

Related information

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

 

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.

0 participants