{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/40677?format=json","vulnerability_id":"VCID-bmy5-zb8a-pqd8","summary":"ReDoS\nThe programming library UA-Parser uses regular expressions to identify user agent strings. The complexity of the regular expressions is such that an attacker can craft special patterns that keep the server busy for a long time. By sending many requests in short order, an attacker can exhaust the amount of processing power available.","aliases":[{"alias":"CVE-2018-20164"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/57435?format=json","purl":"pkg:gem/user_agent_parser@2.5.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/user_agent_parser@2.5.1"},{"url":"http://public2.vulnerablecode.io/api/packages/57438?format=json","purl":"pkg:maven/com.github.ua-parser/uap-java@1.4.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/com.github.ua-parser/uap-java@1.4.1"},{"url":"http://public2.vulnerablecode.io/api/packages/57437?format=json","purl":"pkg:npm/uap-core@0.6.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/uap-core@0.6.1"},{"url":"http://public2.vulnerablecode.io/api/packages/57436?format=json","purl":"pkg:pypi/ua-parser@0.9.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/ua-parser@0.9.0"}],"affected_packages":[],"references":[{"reference_url":"https://github.com/ua-parser/uap-core/pull/363/files","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/ua-parser/uap-core/pull/363/files"},{"reference_url":"https://www.openwall.com/lists/oss-security/2019/01/10/2","reference_id":"","reference_type":"","scores":[],"url":"https://www.openwall.com/lists/oss-security/2019/01/10/2"},{"reference_url":"https://www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/","reference_id":"","reference_type":"","scores":[],"url":"https://www.x41-dsec.de/lab/advisories/x41-2018-009-uaparser/"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20164","reference_id":"CVE-2018-20164","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20164"}],"weaknesses":[{"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."},{"cwe_id":185,"name":"Incorrect Regular Expression","description":"The product specifies a regular expression in a way that causes data to be improperly matched or compared."},{"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."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-bmy5-zb8a-pqd8"}