UBUNTU-CVE-2021-21317

Source
https://ubuntu.com/security/CVE-2021-21317
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21317.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-21317
Related
Published
2021-02-16T18:15:00Z
Modified
2025-01-13T10:22:29Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

uap-core in an open-source npm package which contains the core of BrowserScope's original user agent string parser. In uap-core before version 0.11.0, 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. This is fixed in version 0.11.0. Downstream packages such as uap-python, uap-ruby etc which depend upon uap-core follow different version schemes.

References

Affected packages

Ubuntu:20.04:LTS / uap-core

Package

Name
uap-core
Purl
pkg:deb/ubuntu/uap-core@20190213-2?arch=source&distro=focal

Affected ranges

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

Affected versions

Other

20190213-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / uap-core

Package

Name
uap-core
Purl
pkg:deb/ubuntu/uap-core@1:0.15.0-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

1:0.*

1:0.12.0-1
1:0.13.0-1
1:0.14.0-1
1:0.15.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / uap-core

Package

Name
uap-core
Purl
pkg:deb/ubuntu/uap-core@1:0.18.0-1?arch=source&distro=oracular

Affected ranges

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

Affected versions

1:0.*

1:0.18.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / uap-core

Package

Name
uap-core
Purl
pkg:deb/ubuntu/uap-core@1:0.18.0-1?arch=source&distro=noble

Affected ranges

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

Affected versions

1:0.*

1:0.18.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}