Advisory

GHSA-p4pj-mg4r-x6v4

Also known as: CVE-2021-21317

Summary

Denial of Service in uap-core

Details

Impact

Some regexes are vulnerable to regular expression denial of service (REDoS) due to overlapping capture groups. This allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to maliciously crafted long strings.

Patches

Please update uap-core to >= v0.11.0

Downstream packages such as uap-python, uap-ruby etc which depend upon uap-core follow different version schemes.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-02-02 15:46 UTC
Modified
2026-07-08 06:27 UTC

Affected packages and fixes

uap-core

npm · All systems

Affected

  • introduced 0, fixed 0.11.0 (semver)

Fixed versions

0.11.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences