CVE-2021-27515: Input Validation

Published Feb 21, 2021
·
Updated

An input validation flaw exists in the node.js-url-parse, which results in the URL being incorrectly set to the document location protocol instead of the URL being passed as an argument. This flaw allows an attacker to bypass security checks on URLs. The highest threat from this vulnerability is to integrity. This is an incomplete fix for CVE-2020-8124.

Other sources

url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.

Affected Software

2 affected componentsFixes available
redhat/url-parse<1.5.0
1.5.0
Url-parse Project Url-parse Node.js<1.5.0

Event History

Feb 21, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Feb 22, 2021
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2021-27515.

2

What is the severity of CVE-2021-27515?

The severity of CVE-2021-27515 is medium with a CVSS score of 5.3.

3

Which software is affected by CVE-2021-27515?

The url-parse package before version 1.5.0 is affected by CVE-2021-27515.

4

How does CVE-2021-27515 affect security?

CVE-2021-27515 allows an attacker to bypass security checks on URLs.

5

How can I fix CVE-2021-27515?

To fix CVE-2021-27515, upgrade to version 1.5.0 of the url-parse package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203