CVE-2025-25200 (GCVE-0-2025-25200)
Vulnerability from cvelistv5
Published
2025-02-12 17:59
Modified
2025-02-12 19:29
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-1333 - Inefficient Regular Expression Complexity
Summary
Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue.
References
Impacted products
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2025-25200", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2025-02-12T18:33:35.286450Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-02-12T19:29:10.232Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "koa", "vendor": "koajs", "versions": [ { "status": "affected", "version": "\u003c 0.21.2" }, { "status": "affected", "version": "\u003e= 1.0.0, \u003c 1.7.1" }, { "status": "affected", "version": "\u003e= 2.0.0-alpha.1, \u003c 2.15.4" }, { "status": "affected", "version": "\u003e= 3.0.0-alpha.0, \u003c \u003c 3.0.0-alpha.3" } ] } ], "descriptions": [ { "lang": "en", "value": "Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue." } ], "metrics": [ { "cvssV4_0": { "attackComplexity": "LOW", "attackRequirements": "NONE", "attackVector": "NETWORK", "baseScore": 9.2, "baseSeverity": "CRITICAL", "privilegesRequired": "NONE", "subAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H", "version": "4.0", "vulnAvailabilityImpact": "HIGH", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-1333", "description": "CWE-1333: Inefficient Regular Expression Complexity", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2025-02-12T17:59:04.615Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/koajs/koa/security/advisories/GHSA-593f-38f6-jp5m", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/koajs/koa/security/advisories/GHSA-593f-38f6-jp5m" }, { "name": "https://github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c" }, { "name": "https://github.com/koajs/koa/commit/5f294bb1c7c8d9c61904378d250439a321bffd32", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/koajs/koa/commit/5f294bb1c7c8d9c61904378d250439a321bffd32" }, { "name": "https://github.com/koajs/koa/commit/93fe903fc966635a991bcf890cfc3427d33a1a08", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/koajs/koa/commit/93fe903fc966635a991bcf890cfc3427d33a1a08" }, { "name": "https://github.com/koajs/koa/blob/master/lib/request.js#L259", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/koajs/koa/blob/master/lib/request.js#L259" }, { "name": "https://github.com/koajs/koa/blob/master/lib/request.js#L404", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/koajs/koa/blob/master/lib/request.js#L404" }, { "name": "https://github.com/koajs/koa/releases/tag/2.15.4", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/koajs/koa/releases/tag/2.15.4" } ], "source": { "advisory": "GHSA-593f-38f6-jp5m", "discovery": "UNKNOWN" }, "title": "Koa has Inefficient Regular Expression Complexity" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2025-25200", "datePublished": "2025-02-12T17:59:04.615Z", "dateReserved": "2025-02-03T19:30:53.400Z", "dateUpdated": "2025-02-12T19:29:10.232Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2025-25200\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2025-02-12T18:15:28.110\",\"lastModified\":\"2025-02-12T18:15:28.110\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue.\"}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":9.2,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnerableSystemConfidentiality\":\"NONE\",\"vulnerableSystemIntegrity\":\"NONE\",\"vulnerableSystemAvailability\":\"HIGH\",\"subsequentSystemConfidentiality\":\"NONE\",\"subsequentSystemIntegrity\":\"NONE\",\"subsequentSystemAvailability\":\"HIGH\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirements\":\"NOT_DEFINED\",\"integrityRequirements\":\"NOT_DEFINED\",\"availabilityRequirements\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnerableSystemConfidentiality\":\"NOT_DEFINED\",\"modifiedVulnerableSystemIntegrity\":\"NOT_DEFINED\",\"modifiedVulnerableSystemAvailability\":\"NOT_DEFINED\",\"modifiedSubsequentSystemConfidentiality\":\"NOT_DEFINED\",\"modifiedSubsequentSystemIntegrity\":\"NOT_DEFINED\",\"modifiedSubsequentSystemAvailability\":\"NOT_DEFINED\",\"safety\":\"NOT_DEFINED\",\"automatable\":\"NOT_DEFINED\",\"recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-1333\"}]}],\"references\":[{\"url\":\"https://github.com/koajs/koa/blob/master/lib/request.js#L259\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/koajs/koa/blob/master/lib/request.js#L404\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/koajs/koa/commit/5f294bb1c7c8d9c61904378d250439a321bffd32\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/koajs/koa/commit/93fe903fc966635a991bcf890cfc3427d33a1a08\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/koajs/koa/releases/tag/2.15.4\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/koajs/koa/security/advisories/GHSA-593f-38f6-jp5m\",\"source\":\"security-advisories@github.com\"}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-25200\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-12T18:33:35.286450Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-12T19:29:02.600Z\"}}], \"cna\": {\"title\": \"Koa has Inefficient Regular Expression Complexity\", \"source\": {\"advisory\": \"GHSA-593f-38f6-jp5m\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV4_0\": {\"version\": \"4.0\", \"baseScore\": 9.2, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"NONE\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"HIGH\", \"vulnAvailabilityImpact\": \"HIGH\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"koajs\", \"product\": \"koa\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 0.21.2\"}, {\"status\": \"affected\", \"version\": \"\u003e= 1.0.0, \u003c 1.7.1\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.0.0-alpha.1, \u003c 2.15.4\"}, {\"status\": \"affected\", \"version\": \"\u003e= 3.0.0-alpha.0, \u003c \u003c 3.0.0-alpha.3\"}]}], \"references\": [{\"url\": \"https://github.com/koajs/koa/security/advisories/GHSA-593f-38f6-jp5m\", \"name\": \"https://github.com/koajs/koa/security/advisories/GHSA-593f-38f6-jp5m\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c\", \"name\": \"https://github.com/koajs/koa/commit/5054af6e31ffd451a4151a1fe144cef6e5d0d83c\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/koajs/koa/commit/5f294bb1c7c8d9c61904378d250439a321bffd32\", \"name\": \"https://github.com/koajs/koa/commit/5f294bb1c7c8d9c61904378d250439a321bffd32\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/koajs/koa/commit/93fe903fc966635a991bcf890cfc3427d33a1a08\", \"name\": \"https://github.com/koajs/koa/commit/93fe903fc966635a991bcf890cfc3427d33a1a08\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/koajs/koa/blob/master/lib/request.js#L259\", \"name\": \"https://github.com/koajs/koa/blob/master/lib/request.js#L259\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/koajs/koa/blob/master/lib/request.js#L404\", \"name\": \"https://github.com/koajs/koa/blob/master/lib/request.js#L404\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/koajs/koa/releases/tag/2.15.4\", \"name\": \"https://github.com/koajs/koa/releases/tag/2.15.4\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Koa is expressive middleware for Node.js using ES2017 async functions. Prior to versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3, Koa uses an evil regex to parse the `X-Forwarded-Proto` and `X-Forwarded-Host` HTTP headers. This can be exploited to carry out a Denial-of-Service attack. Versions 0.21.2, 1.7.1, 2.15.4, and 3.0.0-alpha.3 fix the issue.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-1333\", \"description\": \"CWE-1333: Inefficient Regular Expression Complexity\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2025-02-12T17:59:04.615Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2025-25200\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-02-12T19:29:10.232Z\", \"dateReserved\": \"2025-02-03T19:30:53.400Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2025-02-12T17:59:04.615Z\", \"assignerShortName\": \"GitHub_M\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…