SocketDev / wormhole-crypto

Streaming encryption for Wormhole.app, based on Encrypted Content-Encoding for HTTP (RFC 8188)
MIT License
601 stars 41 forks source link

CVE-2020-28502 (High) detected in xmlhttprequest-ssl-1.5.5.tgz #19

Closed mend-bolt-for-github[bot] closed 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2020-28502 - High Severity Vulnerability

Vulnerable Library - xmlhttprequest-ssl-1.5.5.tgz

XMLHttpRequest for Node

Library home page: https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz

Path to dependency file: wormhole-crypto/package.json

Path to vulnerable library: wormhole-crypto/node_modules/xmlhttprequest-ssl/package.json

Dependency Hierarchy: - airtap-4.0.3.tgz (Root Library) - engine.io-client-3.3.2.tgz - :x: **xmlhttprequest-ssl-1.5.5.tgz** (Vulnerable Library)

Found in HEAD commit: 044b4a0706f0fa4d200d65345c838045c2d5be48

Found in base branch: master

Vulnerability Details

This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.

Publish Date: 2021-03-05

URL: CVE-2020-28502

CVSS 3 Score Details (8.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-h4j5-c7cj-74xg

Release Date: 2021-03-05

Fix Resolution: xmlhttprequest - 1.7.0,xmlhttprequest-ssl - 1.6.2


Step up your Open Source Security Game with WhiteSource here

feross commented 3 years ago

This issue is in a dev dependency for testing airtap and doesn't affect the package.