Service crash via unvalidated sw8 header
Published Jul 18, 2022 · Updated Aug 3, 2024
Improper header validation in Apache SkyWalking Node.js Agent 0.5.0 and earlier allows remote attackers to crash Node.js services. ContextCarrier.from passes fields from an unvalidated sw8 trace header into the value setter, where a missing encoded field reaches Buffer.from as undefined and throws a TypeError. The path is reachable when upstream tracing supplies an invalid context, including during an unhealthy OAP connection or downstream sampling, and the uncaught exception exits the instrumented service.
Summary
What happened
Improper header validation in Apache SkyWalking Node.js Agent 0.5.0 and earlier allows remote attackers to crash Node.js services. ContextCarrier.from passes fields from an unvalidated sw8 trace header into the value setter, where a missing encoded field reaches Buffer.from as undefined and throws a TypeError. The path is reachable when upstream tracing supplies an invalid context, including during an unhealthy OAP connection or downstream sampling, and the uncaught exception exits the instrumented service.
The record
- CVE
- CVE-2022-36127
- Published
- Jul 18, 2022
- Updated
- Aug 3, 2024
- Vendor
- The Apache Software Foundation
- Product
- Apache SkyWalking Node.js Agent
- Classifications
- T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 18, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Apache SkyWalking NodeJS Agent <=0.5.0
What conditions does exploitation require?
What is affected?
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
No public exploit references are available in this record.
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