Prototype pollution via unsafe property path traversal
Published Jul 5, 2023 · Updated Aug 2, 2024
Prototype pollution in protobufjs 6.10.0 through 6.11.3 and 7.0.0 through 7.2.4 allows remote attackers to modify Object.prototype. util.setProperty recursively traverses dot-delimited paths but rejects only proto, allowing a constructor.prototype segment to reach the global object prototype. Exploitation requires a consuming application to pass attacker-controlled schema or option data through parse, load, loadSync, ReflectionObject.setParsedOption, or util.setProperty; successful pollution can overwrite inherited data and functions across the process.
Summary
What happened
Prototype pollution in protobufjs 6.10.0 through 6.11.3 and 7.0.0 through 7.2.4 allows remote attackers to modify Object.prototype. util.setProperty recursively traverses dot-delimited paths but rejects only proto, allowing a constructor.prototype segment to reach the global object prototype. Exploitation requires a consuming application to pass attacker-controlled schema or option data through parse, load, loadSync, ReflectionObject.setParsedOption, or util.setProperty; successful pollution can overwrite inherited data and functions across the process.
The record
- CVE
- CVE-2023-36665
- Published
- Jul 5, 2023
- Updated
- Aug 2, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-1321, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 5, 2023CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream constructor.prototype regression testproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo