<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T18:23:29.341875+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-vf2m-468p-8v99</id>
    <title>GHSA-vf2m-468p-8v99 — Axios: HTTP adapter streamed responses bypass maxContentLength</title>
    <updated>2026-10-04T18:23:29.343324+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: axios</p>
<p>### Summary</p>
<p>When responseType: 'stream' is used, Axios returns the response stream without enforcing maxContentLength. This bypasses configured response-size limits and allows unbounded downstream consumption.</p>
<p>### Details
In lib/adapters/http.js:
  - 786-789: for responseType === 'stream', Axios immediately settles with the stream.
  - 797-810: maxContentLength enforcement exists only in the non-stream buffering branch.</p>
<p>So callers may set maxContentLength and still receive/read arbitrarily large streamed responses.</p>
<p>### PoC</p>
<p>Environment:
- Axios main at commit f7a4ee2
- Node v24.2.0</p>
<p>Steps:</p>
<p>1. Start an HTTP server that returns a 2 MiB response body.
2. Call Axios with:
   - adapter: 'http'
   - responseType: 'stream'
   - maxContentLength: 1024
3. Read the returned stream fully.</p>
<p>Observed:
- Success; full 2097152 bytes readable.</p>
<p>Control check:
- Same endpoint with responseType: 'text' and same maxContentLength: rejected with maxContentLength size of 1024 exceeded.</p>
<p>### Impact
Type: DoS / unbounded response processing.
Impacted: Node.js applications relying on maxContentLength as a safety boundary while using streamed Axios responses.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-vf2m-468p-8v99"/>
  </entry>
</feed>
