UBUNTU-CVE-2021-27292

Source
https://ubuntu.com/security/CVE-2021-27292
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-27292.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-27292
Upstream
Published
2021-03-17T13:15:00Z
Modified
2025-10-24T04:50:11Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.

References

Affected packages

Ubuntu:18.04:LTS / node-ua-parser-js

Package

Name
node-ua-parser-js
Purl
pkg:deb/ubuntu/node-ua-parser-js@0.7.14-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.7.14-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-ua-parser-js",
            "binary_version": "0.7.14-1"
        }
    ]
}

Ubuntu:20.04:LTS / node-ua-parser-js

Package

Name
node-ua-parser-js
Purl
pkg:deb/ubuntu/node-ua-parser-js@0.7.14-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.7.14-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-ua-parser-js",
            "binary_version": "0.7.14-1"
        }
    ]
}

Ubuntu:22.04:LTS / node-ua-parser-js

Package

Name
node-ua-parser-js
Purl
pkg:deb/ubuntu/node-ua-parser-js@0.7.31+ds+~0.7.36-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.7.24+ds-1
0.7.24+ds-2
0.7.31+ds+~0.7.36-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-ua-parser-js",
            "binary_version": "0.7.31+ds+~0.7.36-1"
        }
    ]
}