{"id":"CVE-2022-25927","state":"PUBLISHED","title":"Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression Denial of Service (ReDoS) via the trim() funct","description":"Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression Denial of Service (ReDoS) via the trim() function.\r\r","publishedAt":"2023-01-25T05:00:00.897Z","updatedAt":"2025-04-01T18:28:37.897Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","source":"snyk"},"assigner":"snyk","products":["n/a ua-parser-js"],"affected":[{"vendor":"n/a","product":"ua-parser-js","versions":[{"version":"0.7.30","status":"affected","lessThan":"0.7.33","versionType":"semver"},{"version":"0.8.1","status":"affected","lessThan":"1.0.33","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450","https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25927.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25927","state":"PUBLISHED","datePublished":"2023-01-25T05:00:00.897Z","dateUpdated":"2025-04-01T18:28:37.897Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T11:58:25.175Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression Denial of Service (ReDoS) via the trim() function.\r\r"}],"affected":[{"vendor":"n/a","product":"ua-parser-js","versions":[{"version":"0.7.30","status":"affected","lessThan":"0.7.33","versionType":"semver"},{"version":"0.8.1","status":"affected","lessThan":"1.0.33","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450"},{"url":"https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","description":"Regular Expression Denial of Service (ReDoS)","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2023-01-25T05:00:00.897Z"},"credits":[{"value":"Beau Harder","lang":"en"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450","tags":["x_transferred"]},{"url":"https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:49:44.149Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-01T18:27:15.804522Z","id":"CVE-2022-25927","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","type":"CWE","lang":"en","description":"CWE-1333 Inefficient Regular Expression Complexity"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-01T18:28:37.897Z"}}]}}}