Advisory record · GHSA-6h7w-fc84-x7p6

StaticFile.fromUrl can leak presence of a directory

CVSS 5.8 MediumEPSS 0.014 · 72nd percentile

Published by the GitHub Advisory Database at 28 May 2021, 15:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.http4s:http4s-coreMaven>=0.21.7, <0.21.24 || >=0.22.0-M1, <0.22.0-RC1 || >=0.23.0-M1, <0.23.0-RC1 || >=1.0.0-M1, <1.0.0-M230.21.24, 0.22.0-RC1, 0.23.0-RC1, 1.0.0-M23
Identifiers
GHSA-6h7w-fc84-x7p6 · CVE-2021-32643
Weakness (CWE)
CWE-22
Published
28 May 2021
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of http4s-core from 0.21.7 up to 0.21.24 (excluding 0.21.24), and certain 0.22, 0.23 and 1.0 milestone builds, are affected. In StaticFile.fromUrl, a non-file URL pointing to a directory returns no resource without checking the scheme, so a remote attacker can infer whether a directory exists on the server from a 404 response. Upgrade to 0.21.24, 0.22.0-RC1, 0.23.0-RC1, 1.0.0-M23 or later. Avoid calling StaticFile.fromUrl with non-file URLs as a workaround.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.8 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.014, the 72nd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.