{"id":"CVE-2024-10295","state":"PUBLISHED","title":"Gateway: apicast basic auth bypass via malformed base64 headerssending non-base64 'basic' auth with special characters causes apicast to incorrectly authenticate a request","description":"A flaw was found in Gateway. Sending a non-base64 'basic' auth with special characters can cause APICast to incorrectly authenticate a request. A malformed basic authentication header containing special characters bypasses authentication and allows unauthorized access to the backend. This issue can occur due to a failure in the base64 decoding process, which causes APICast to skip the rest of the authentication checks and proceed with routing the request upstream.","publishedAt":"2024-10-24T17:55:10.314Z","updatedAt":"2026-03-20T10:33:47.035Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"redhat"},"assigner":"redhat","products":["gateway","Red Hat Red Hat 3scale API Management Platform 2"],"affected":[{"packageName":"gateway","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.14.2","versionType":"semver"}],"collectionURL":"https://github.com/3scale"},{"vendor":"Red Hat","product":"Red Hat 3scale API Management Platform 2","packageName":"3scale-amp-apicast-gateway-container","defaultStatus":"affected","collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:red_hat_3scale_amp:2"]}],"references":["https://access.redhat.com/security/cve/CVE-2024-10295","https://bugzilla.redhat.com/show_bug.cgi?id=2321258"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/10xxx/CVE-2024-10295.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-10295","state":"PUBLISHED","datePublished":"2024-10-24T17:55:10.314Z","dateUpdated":"2026-03-20T10:33:47.035Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2024-10-23T10:27:35.174Z"},"containers":{"cna":{"title":"Gateway: apicast basic auth bypass via malformed base64 headerssending non-base64 'basic' auth with special characters causes apicast to incorrectly authenticate a request","descriptions":[{"lang":"en","value":"A flaw was found in Gateway. Sending a non-base64 'basic' auth with special characters can cause APICast to incorrectly authenticate a request. A malformed basic authentication header containing special characters bypasses authentication and allows unauthorized access to the backend. This issue can occur due to a failure in the base64 decoding process, which causes APICast to skip the rest of the authentication checks and proceed with routing the request upstream."}],"affected":[{"packageName":"gateway","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.14.2","versionType":"semver"}],"collectionURL":"https://github.com/3scale"},{"vendor":"Red Hat","product":"Red Hat 3scale API Management Platform 2","packageName":"3scale-amp-apicast-gateway-container","defaultStatus":"affected","collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:red_hat_3scale_amp:2"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-10295","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2321258","name":"RHBZ#2321258","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-03-20T10:33:47.035Z"},"datePublic":"2024-10-23T00:00:00.000Z","x_redhatCweChain":"CWE-863: Incorrect Authorization","timeline":[{"lang":"en","time":"2024-10-23T09:44:52.325Z","value":"Reported to Red Hat."},{"lang":"en","time":"2024-10-23T00:00:00.000Z","value":"Made public."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-08T19:09:54.921570Z","id":"CVE-2024-10295","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","type":"CWE","lang":"en","description":"CWE-863 Incorrect Authorization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-08T19:10:07.662Z"}}]}}}