Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-5rba-b2bd-nfgv
Summary
ReDoS Vulnerability in ua-parser-js version
### Description:
A regular expression denial of service (ReDoS) vulnerability has been discovered in `ua-parser-js`.

### Impact:
This vulnerability bypass the library's `MAX_LENGTH` input limit prevention. By crafting a very-very-long user-agent string with specific pattern, an attacker can turn the script to get stuck processing for a very long time which results in a denial of service (DoS) condition.

### Affected Versions:
From version `0.7.30` to before versions `0.7.33` / `1.0.33`.

### Patches:
A patch has been released to remove the vulnerable regular expression, update to version `0.7.33` / `1.0.33` or later.

### References:
[Regular expression Denial of Service - ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS)

### Credits:
Thanks to @Snyk who first reported the issue.
Aliases
0
alias CVE-2022-25927
1
alias GHSA-fhg7-m89q-25r3
2
alias GMS-2023-120
Fixed_packages
0
url pkg:deb/debian/node-ua-parser-js@0.8.1%2Bds%2B~0.7.36-3?distro=trixie
purl pkg:deb/debian/node-ua-parser-js@0.8.1%2Bds%2B~0.7.36-3?distro=trixie
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-ua-parser-js@0.8.1%252Bds%252B~0.7.36-3%3Fdistro=trixie
1
url pkg:npm/ua-parser-js@0.7.33
purl pkg:npm/ua-parser-js@0.7.33
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@0.7.33
2
url pkg:npm/ua-parser-js@1.0.33
purl pkg:npm/ua-parser-js@1.0.33
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@1.0.33
Affected_packages
0
url pkg:deb/debian/node-ua-parser-js@0.7.24%2Bds-1?distro=trixie
purl pkg:deb/debian/node-ua-parser-js@0.7.24%2Bds-1?distro=trixie
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5rba-b2bd-nfgv
resource_url http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-ua-parser-js@0.7.24%252Bds-1%3Fdistro=trixie
1
url pkg:npm/ua-parser-js@0.7.30
purl pkg:npm/ua-parser-js@0.7.30
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5rba-b2bd-nfgv
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@0.7.30
2
url pkg:npm/ua-parser-js@0.8.0
purl pkg:npm/ua-parser-js@0.8.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5rba-b2bd-nfgv
1
vulnerability VCID-f6e7-4dxm-cug5
2
vulnerability VCID-uqy7-83dp-37gd
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@0.8.0
References
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-25927.json
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-25927.json
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2022-25927
reference_id
reference_type
scores
0
value 0.01453
scoring_system epss
scoring_elements 0.81145
published_at 2026-06-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2022-25927
2
reference_url https://github.com/faisalman/ua-parser-js
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/faisalman/ua-parser-js
3
reference_url https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411
4
reference_url https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450
5
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=2165020
reference_id 2165020
reference_type
scores
url https://bugzilla.redhat.com/show_bug.cgi?id=2165020
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2022-25927
reference_id CVE-2022-25927
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2022-25927
7
reference_url https://github.com/advisories/GHSA-fhg7-m89q-25r3
reference_id GHSA-fhg7-m89q-25r3
reference_type
scores
url https://github.com/advisories/GHSA-fhg7-m89q-25r3
8
reference_url https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-fhg7-m89q-25r3
reference_id GHSA-fhg7-m89q-25r3
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/faisalman/ua-parser-js/security/advisories/GHSA-fhg7-m89q-25r3
9
reference_url https://access.redhat.com/errata/RHSA-2023:1428
reference_id RHSA-2023:1428
reference_type
scores
url https://access.redhat.com/errata/RHSA-2023:1428
Weaknesses
0
cwe_id 1333
name Inefficient Regular Expression Complexity
description The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
1
cwe_id 400
name Uncontrolled Resource Consumption
description The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.
2
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
3
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
Exploits
Severity_range_score7.0 - 8.9
Exploitability0.5
Weighted_severity8.0
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-5rba-b2bd-nfgv