# GHSA-6fcr-9h9g-23fq: Denial of Service in ipfs-bitswap

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-02T21:50:51.000Z
- Modified: 2023-12-07T22:08:14.000Z
- Weaknesses: CWE-400

## Description

Versions of `ipfs-bitswap` prior to 0.24.1 are vulnerable to Denial of Service (DoS). The package put unwanted blocks in the blockstore, which could be used to exhaust system resources in specific conditions.


## Recommendation

Upgrade to version 0.24.1 or later.

(As written by GitHub Advisory Database.)

## Affected

- ipfs-bitswap (npm): before 0.24.1

## References

- <https://github.com/ipfs/js-ipfs-bitswap/pull/194> (web)
- <https://github.com/ipfs/js-ipfs-bitswap> (package)
- <https://snyk.io/vuln/SNYK-JS-IPFSBITSWAP-174847> (web)
- <https://www.npmjs.com/advisories/916> (web)

## Sources

- GitHub Advisory Database: [GHSA-6fcr-9h9g-23fq](https://github.com/advisories/GHSA-6fcr-9h9g-23fq), CC-BY-4.0, modified 2023-12-07

---

Page: https://cve.day/GHSA-6fcr-9h9g-23fq · Whole record: https://cve.day/GHSA-6fcr-9h9g-23fq.json · Rebuilt by cve.day 2026-11-25T22:56:44.358Z
