OCPBUGS-85032: CVE-2026-42041 openshift4/ose-console: Axios: Authentication bypass due to prototype pollution of HTTP error handling [openshift-4.14.z]#16541
Conversation
…cation bypass due to prototype pollution of HTTP error handling [openshift-4.14.z] CVE-2026-42041 is a Prototype Pollution vulnerability in axios that allows authentication bypass via prototype pollution of the validateStatus config property. When Object.prototype.validateStatus is polluted with () => true, all HTTP error responses (401, 403, 500) are silently treated as successful, completely bypassing application authentication and error handling. Changes: - Updated axios from 0.31.0 to 0.31.1 in dependencies - Updated axios from 0.31.0 to 0.31.1 in resolutions - Updated yarn.lock to lock axios@npm:0.31.1 Verification: - yarn lint: ✅ Passed (5 pre-existing warnings, none related to axios) - yarn test: ✅ Passed (all test suites passed, exit code 0) - yarn build: ✅ Passed (all assets generated successfully, exit code 0) The axios 0.31.1 release fixes this vulnerability in the 0.x branch. No breaking changes or test failures introduced by this update. Related: OCPBUGS-85032
|
@tonyxrmdavidson: This pull request references Jira Issue OCPBUGS-85032, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/jira refresh |
|
@tonyxrmdavidson: This pull request references Jira Issue OCPBUGS-85032, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tonyxrmdavidson The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test e2e-gcp-console |
|
@tonyxrmdavidson: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
…cation bypass due to prototype pollution of HTTP error handling [openshift-4.14.z]
CVE-2026-42041 is a Prototype Pollution vulnerability in axios that allows authentication bypass via prototype pollution of the validateStatus config property. When Object.prototype.validateStatus is polluted with () => true, all HTTP error responses (401, 403, 500) are silently treated as successful, completely bypassing application authentication and error handling.
Changes:
Verification:
The axios 0.31.1 release fixes this vulnerability in the 0.x branch. No breaking changes or test failures introduced by this update.
Related: OCPBUGS-85032