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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.18.26"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.19.0"
},
{
"fixed": "0.20.20"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.21.0"
},
{
"fixed": "0.21.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "752b3f63a05a31d2de4f8706877aa08d6b89efca"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "b87f31b2292dabe667bec3b04ce66176c8a3e17b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}