GHSA-FX5P-F64H-93XC

GHSA-FX5P-F64H-93XC is a medium-severity security vulnerability in github.com/ipfs/go-ipfs (go), affecting versions >= 0.11.0, < 0.12.1. It is fixed in 0.12.1.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Opened exploitable ports in default docker-compose.yaml in go-ipfs

Who ?

This affects people running the docker-compose.yaml service in an environment where the docker host is directly attached to a public or untrusted IP. In the vulnerable version, the private API endpoint is publicly forwarded by exposing it as 0.0.0.0:5001 on the host machine.

If the host machine is hidden behind a firewall or NAT (and the LAN is trusted for NAT), this is not an immediate issue because of the protection from the firewall or NAT. That said, we still recommend users update to follow security best practices of not putting unnecessary dependency on a working firewall.

How to test if you are vulnerable

Binding check on the host

On the host machine, while IPFS is running, run as root:

netstat -lnp | grep ":5001"

The output will be a list of listeners bound to :5001.
You then need to check that those listeners are private and preferably even localhost IPs.
⚠️ If this listener is on 0.0.0.0 or a public IP you are very likely vulnerable.

Remote hailing

While IPFS is running, you can try to contact the API from a remote machine. (Replace 1.2.3.4 with your node public IP. Or if you want to test in an untrusted NAT, then substitute the LAN IP instead.)

curl -X POST http://1.2.3.4:5001/api/v0/version

⚠️ If you see any json outputted (e.g., {"Commit": "<string>","Golang": "<string>","Repo": "<string>","System": "<string>","Version": "<string>"}), then you are vulnerable.

If it fails, then you are safe.

For more information

If you have any questions or comments about this advisory:

Impact

Allows admin API access to the IPFS node.

Affected versions

github.com/ipfs/go-ipfs (>= 0.11.0, < 0.12.1)

Security releases

github.com/ipfs/go-ipfs → 0.12.1 (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

This issue is in docker-compose.yaml. Users need to replace their current docker-compose.yaml file with a version 0.12.1 or later.

There is no need to update any of the binaries. Users running previous versions like 0.12.0 or earlier can download the 0.12.1 docker-compose.yaml file. You can replace a vulnerable docker-compose.yaml file with a the new one with:

curl https://raw.githubusercontent.com/ipfs/go-ipfs/v0.12.1/docker-compose.yaml > docker-compose.yaml

Frequently Asked Questions

  1. What is GHSA-FX5P-F64H-93XC? GHSA-FX5P-F64H-93XC is a medium-severity security vulnerability in github.com/ipfs/go-ipfs (go), affecting versions >= 0.11.0, < 0.12.1. It is fixed in 0.12.1.
  2. Which versions of github.com/ipfs/go-ipfs are affected by GHSA-FX5P-F64H-93XC? github.com/ipfs/go-ipfs (go) versions >= 0.11.0, < 0.12.1 is affected.
  3. Is there a fix for GHSA-FX5P-F64H-93XC? Yes. GHSA-FX5P-F64H-93XC is fixed in 0.12.1. Upgrade to this version or later.
  4. Is GHSA-FX5P-F64H-93XC exploitable, and should I be worried? Whether GHSA-FX5P-F64H-93XC is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether GHSA-FX5P-F64H-93XC is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix GHSA-FX5P-F64H-93XC? Upgrade github.com/ipfs/go-ipfs to 0.12.1 or later.

Other vulnerabilities in github.com/ipfs/go-ipfs

Stop the waste.
Protect your environment with Kodem.