{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-8040 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-8040 is a medium-severity vulnerability in Apache Traffic Server, published on 29 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-8040 and fix it if it is affected.\n\nWhat it is: CVE-2018-8040 is a medium-severity vulnerability in Apache Traffic Server, published on 29 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-8040 in the wild and no public exploit code.\n\nAffected product: Apache Traffic Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-8040/ (Markdown: https://insights.sbomify.com/CVE-2018-8040/index.md)","id":"CVE-2018-8040","markdown":"https://insights.sbomify.com/CVE-2018-8040/index.md","name":"CVE-2018-8040","record":{"aliases":["DEBIAN-CVE-2018-8040","GHSA-g5v3-3xfp-hgx6","UBUNTU-CVE-2018-8040"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Traffic Server","requires_auth":"none","summary":"Attackers can access cookie headers in ESI-rendered pages when the plugin is configured to restrict access, potentially exposing sensitive session data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"traffic_server","vendor":"apache"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"description":"Pages that are rendered using the ESI plugin can have access to the cookie header when the plugin is configured not to allow access. This affects Apache Traffic Server (ATS) versions 6.0.0 to 6.2.2 and 7.0.0 to 7.1.3. To resolve this issue users running 6.x should upgrade to 6.2.3 or later versions and 7.x users should upgrade to 7.1.4 or later versions.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Information disclosure in Apache Traffic Server","id":"CVE-2018-8040","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:traffic_server","products":["apache:traffic_server","debian:debian_linux"],"type":"information_disclosure","year":"2018"},"n_packages":0,"n_references":5,"next":{"headline":"Apache Camel's Mail is vulnerable to path traversal","id":"CVE-2018-8041"},"packages":[],"prev":{"headline":"Apache CXF TLS hostname verification does not work correctly with com.sun.net.ssl.*","id":"CVE-2018-8039"},"products":["Apache Traffic Server"],"published":"2018-08-29","related":[{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2014-3525","kev_date_added":null,"published":"2014-08-22"},{"cvss_score":9.8,"headline":"heap-buffer-overflow with stats-over-http plugin","id":"CVE-2021-43082","kev_date_added":null,"published":"2021-11-03"},{"cvss_score":9.8,"headline":"Dynamic stack buffer overflow in cachekey plugin","id":"CVE-2021-35474","kev_date_added":null,"published":"2021-06-30"},{"cvss_score":9.8,"headline":"Other in Apache Traffic Server","id":"CVE-2019-17559","kev_date_added":null,"published":"2020-03-23"},{"cvss_score":9.8,"headline":"Other in Apache Traffic Server","id":"CVE-2019-17565","kev_date_added":null,"published":"2020-03-23"},{"cvss_score":9.8,"headline":"Other in Apache Traffic Server","id":"CVE-2020-1944","kev_date_added":null,"published":"2020-03-23"},{"cvss_score":9.8,"headline":"Security feature bypass in n/a","id":"CVE-2014-3624","kev_date_added":null,"published":"2017-10-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Apache Software Foundation"]},"summary":"Attackers can access cookie headers in ESI-rendered pages when the plugin is configured to restrict access, potentially exposing sensitive session data.","url":"https://insights.sbomify.com/CVE-2018-8040/"}