Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, a prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the attacker-controlled getHeaders() function, merging the returned headers into the outgoing request. The vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need to originate from Axios itself — any prototype pollution primitive in any dependency in the applications dependency tree is sufficient to trigger this gadget. This vulnerability is fixed in 1.15.1 and 0.31.1.
The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes CR and LF characters before the data is included in outgoing HTTP headers.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Axios | Axios | * | 0.31.1 (excluding) |
| Axios | Axios | 1.0.0 (including) | 1.15.1 (excluding) |
| HawtIO HawtIO 4.4.0 | RedHat | axios | * |
| Cluster Observability Operator 1.5.0 | RedHat | cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1781116645 | * |
| Cluster Observability Operator 1.5.0 | RedHat | cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9:1781116658 | * |
| Cluster Observability Operator 1.5.0 | RedHat | cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9:1781116387 | * |
| Cluster Observability Operator 1.5.0 | RedHat | cluster-observability-operator/distributed-tracing-console-plugin-rhel9:1781116392 | * |
| Cluster Observability Operator 1.5.0 | RedHat | cluster-observability-operator/monitoring-console-plugin-pf5-rhel9:1781116667 | * |
| Cluster Observability Operator 1.5.0 | RedHat | cluster-observability-operator/monitoring-console-plugin-pf6-rhel9:1781116671 | * |
| Cluster Observability Operator 1.5.0 | RedHat | cluster-observability-operator/monitoring-console-plugin-rhel9:1781116422 | * |
| Multicluster engine for Kubernetes 2.10 | RedHat | multicluster-engine/console-mce-rhel9:1780917531 | * |
| Multicluster engine for Kubernetes 2.11 | RedHat | multicluster-engine/console-mce-rhel9:1780910888 | * |
| Multicluster engine for Kubernetes 2.6 | RedHat | multicluster-engine/console-mce-rhel9:1778511348 | * |
| Multicluster engine for Kubernetes 2.8 | RedHat | multicluster-engine/console-mce-rhel9:1778383863 | * |
| Multicluster engine for Kubernetes 2.9 | RedHat | multicluster-engine/console-mce-rhel9:1778532610 | * |
| Network Observability (NETOBSERV) 1.11.2 | RedHat | network-observability/network-observability-console-plugin-compat-rhel9:1778508956 | * |
| Network Observability (NETOBSERV) 1.11.2 | RedHat | network-observability/network-observability-console-plugin-rhel9:1778510461 | * |
| Red Hat Advanced Cluster Management for Kubernetes 2.15 | RedHat | rhacm2/console-rhel9:1780876734 | * |
| Red Hat Advanced Cluster Management for Kubernetes 2.16 | RedHat | rhacm2/console-rhel9:1780600823 | * |
| Red Hat Advanced Cluster Security for Kubernetes 4.10 | RedHat | advanced-cluster-security/rhacs-main-rhel8:1779293013 | * |
| Red Hat Advanced Cluster Security for Kubernetes 4.9 | RedHat | advanced-cluster-security/rhacs-main-rhel8:1779371594 | * |
| Red Hat Developer Hub 1.8 | RedHat | rhdh/rhdh-hub-rhel9:1779841586 | * |
| Red Hat Developer Hub 1.9 | RedHat | rhdh/rhdh-hub-rhel9:1781187342 | * |
| Red Hat Discovery 2 | RedHat | discovery/discovery-ui-rhel9:1778156756 | * |
| Red Hat Migration Toolkit 1.8 | RedHat | rhmtc/openshift-migration-ui-rhel8:1780590717 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-dashboard-rhel9:1780467029 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-mod-arch-model-registry-rhel9:1780467147 | * |
| Red Hat OpenShift Container Platform 4.20 | RedHat | openshift4/ose-agent-installer-ui-rhel9:1778645099 | * |
| Red Hat OpenShift Container Platform 4.21 | RedHat | openshift4/ose-agent-installer-ui-rhel9:1778539338 | * |
| Red Hat OpenShift Dev Spaces 3.28 | RedHat | devspaces/code-rhel9:1779814592 | * |
| Red Hat OpenShift Dev Spaces 3.28 | RedHat | devspaces/dashboard-rhel9:1779341289 | * |
| Red Hat OpenShift Service Mesh 2.6 | RedHat | openshift-service-mesh/kiali-ossmc-rhel8:1778191473 | * |
| Red Hat OpenShift Service Mesh 2.6 | RedHat | openshift-service-mesh/kiali-rhel8:1778191378 | * |
| Red Hat OpenShift Service Mesh 3.0 | RedHat | openshift-service-mesh/kiali-ossmc-rhel9:1778163785 | * |
| Red Hat OpenShift Service Mesh 3.0 | RedHat | openshift-service-mesh/kiali-rhel9:1778164208 | * |
| Red Hat OpenShift Service Mesh 3.1 | RedHat | openshift-service-mesh/kiali-ossmc-rhel9:1778163935 | * |
| Red Hat OpenShift Service Mesh 3.1 | RedHat | openshift-service-mesh/kiali-rhel9:1778164042 | * |
| Red Hat OpenShift Service Mesh 3.2 | RedHat | openshift-service-mesh/kiali-ossmc-rhel9:1778163792 | * |
| Red Hat OpenShift Service Mesh 3.2 | RedHat | openshift-service-mesh/kiali-rhel9:1778163909 | * |
| Red Hat OpenShift Service Mesh 3.3 | RedHat | openshift-service-mesh/kiali-ossmc-rhel9:1778163785 | * |
| Red Hat OpenShift Service Mesh 3.3 | RedHat | openshift-service-mesh/kiali-rhel9:1778163986 | * |
| Red Hat Quay 3.1 | RedHat | quay/quay-rhel8:1779822261 | * |
| Red Hat Quay 3.12 | RedHat | quay/quay-rhel8:1779811412 | * |
| Red Hat Quay 3.14 | RedHat | quay/quay-rhel8:1779689392 | * |
| Red Hat Quay 3.15 | RedHat | quay/quay-rhel8:1780891395 | * |
| Red Hat Quay 3.16 | RedHat | quay/quay-rhel9:1779204086 | * |
| Red Hat Quay 3.17 | RedHat | quay/quay-rhel9:1779922205 | * |
| Red Hat Quay 3.9 | RedHat | quay/quay-rhel8:1779811473 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-advisor-frontend-rhel9:1781181673 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-vulnerability-frontend-rhel9:1781032495 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-host-inventory-frontend-rhel9:1780105179 | * |
| Red Hat Trusted Artifact Signer 1.3 | RedHat | rhtas/rhtas-console-ui-rhel9:1779971506 | * |
| Node-axios | Ubuntu | upstream | * |
HTTP agents or components may include a web server, load balancer, reverse proxy, web caching proxy, application firewall, web browser, etc. Regardless of the role, they are expected to maintain coherent, consistent HTTP communication state across all components. However, including unexpected data in an HTTP header allows an attacker to specify the entirety of the HTTP message that is rendered by the client HTTP agent (e.g., web browser) or back-end HTTP agent (e.g., web server), whether the message is part of a request or a response.
When an HTTP request contains unexpected CR and LF characters, the server may respond with an output stream that is interpreted as “splitting” the stream into two different HTTP messages instead of one. CR is carriage return, also given by %0d or \r, and LF is line feed, also given by %0a or \n. In addition to CR and LF characters, other valid/RFC compliant special characters and unique character encodings can be utilized, such as HT (horizontal tab, also given by %09 or \t) and SP (space, also given as + sign or %20). These types of unvalidated and unexpected data in HTTP message headers allow an attacker to control the second “split” message to mount attacks such as server-side request forgery, cross-site scripting, and cache poisoning attacks. HTTP response splitting weaknesses may be present when: