Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

GHSA-px4h-xg32-q955

HIGHFix: sindresorhus/normalize-url@b1fdb51

GHSA-px4h-xg32-q955 is a high-severity (CVSS 7.5) CWE-1333 vulnerability in normalize-url. O3 Security confirms whether GHSA-px4h-xg32-q955 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

ReDoS in normalize-url

Also known asCVE-2021-33502
Published
Jun 8, 2021
Updated
Nov 8, 2023
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Nov 8, 2023 · OSV.dev, NVD, FIRST.org (EPSS)

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

2Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
normalize-urlnpm
48.0Mdownloads / week

Description

The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmnormalize-url4.3.0&&< 4.5.14.5.1
📦npmnormalize-url5.0.0&&< 5.3.15.3.1
📦npmnormalize-url6.0.0&&< 6.0.16.0.1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for normalize-url. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update normalize-url to 4.5.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-px4h-xg32-q955 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-px4h-xg32-q955 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-px4h-xg32-q955. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Frequently Asked Questions

The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.
O3 Security · Impact-Aware SCA

Is GHSA-px4h-xg32-q955 in your dependencies?

O3 detects GHSA-px4h-xg32-q955 across npm dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

GHSA-px4h-xg32-q955: ReDoS in… | O3 Security