- Description
- http4s before versions 0.18.26, 0.20.20, and 0.21.2 has a local file inclusion vulnerability. This vulnerability applies to all users of org.http4s.server.staticcontent.FileService, org.http4s.server.staticcontent.ResourceService and org.http4s.server.staticcontent.WebjarService. URI normalization is applied incorrectly. Requests whose path info contain ../ or // can expose resources outside of the configured location. This issue is patched in versions 0.18.26, 0.20.20, and 0.21.2. Note that 0.19.0 is a deprecated release and has never been supported.
- Source
- security-advisories@github.com
- NVD status
- Modified
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 5
- Impact score
- 2.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D8F27ABA-D902-4EFB-AA8A-1C1A3637517A",
"versionEndExcluding": "0.18.26"
},
{
"criteria": "cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1B72AEE1-950A-4AB8-9620-A9E4DE39ACEB",
"versionEndExcluding": "0.20.20",
"versionStartIncluding": "0.19.0"
},
{
"criteria": "cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "15358AD5-7CD3-4EC2-B986-6115420D15D8",
"versionEndExcluding": "0.21.2",
"versionStartIncluding": "0.21.0"
}
],
"operator": "OR"
}
]
}
]