Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-44490

MEDIUM · 4.8 CVSS Gepubliceerd: CWE-1321

Beschrijving NL

Axios is een op beloftes gebaseerde HTTP-client voor de browser en Node.js. Voorafgaand aan 0.32.0 en 1.16.0, toont Axios twee prototype-vervuilingsgadgets aan de leeszijde. Wanneer Object.prototype wordt vervuild door een stroomopwaartse afhankelijkheid in hetzelfde proces (bijv. lodash _.merge/CVE-2018-16487), pikt axio's in stilte de vervuilde waarden op. (1) lib/utils.js line 406 builds merge()'s accumulator as result = {}, so result[targetKey] (line 414) walks Object.prototype and the polluted bucket's own keys are copied into the merged headers and ride out on the wire. (2) lib/core/mergeConfig.js line 26 builds the hasOwnProperty descriptor as a plain-object literal. Object.defineProperty leest descriptor.get/descriptor.set via de prototypeketen, dus een vervuild Object.prototype.get of Object.prototype.set maakt de aanroep synchroon TypeError op elk axios-verzoek. Deze kwetsbaarheid is opgelost in 0.32.0 en 1.16.0.

Origineel (Engels) tonen

Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, axios exposes two read-side prototype-pollution gadgets. When Object.prototype is polluted by an upstream dependency in the same process (e.g. lodash _.merge / CVE-2018-16487), axios silently picks up the polluted values. (1) lib/utils.js line 406 builds merge()'s accumulator as result = {}, so result[targetKey] (line 414) walks Object.prototype and the polluted bucket's own keys are copied into the merged headers and ride out on the wire. (2) lib/core/mergeConfig.js line 26 builds the hasOwnProperty descriptor as a plain-object literal. Object.defineProperty reads descriptor.get/descriptor.set via the prototype chain, so a polluted Object.prototype.get or Object.prototype.set makes the call throw TypeError synchronously on every axios request. This vulnerability is fixed in 0.32.0 and 1.16.0.

Vendors

Axios

Affected products

Axios

References