{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-37283 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-37283 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-37283 is a medium-severity vulnerability in Elastic Agent, published on 8 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-37283 and fix it if it is affected.\n\nWhat it is: CVE-2024-37283 is a medium-severity vulnerability in Elastic Agent, published on 8 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-37283 in the wild and no public exploit code.\n\nAffected product: Elastic Agent. 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-2024-37283/ (Markdown: https://insights.sbomify.com/CVE-2024-37283/index.md)","id":"CVE-2024-37283","markdown":"https://insights.sbomify.com/CVE-2024-37283/index.md","name":"CVE-2024-37283","record":{"aliases":["GHSA-9mq7-8hm8-q3mp"],"analysis":{"component_type":"server_software","fix_type":"configuration_change","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Elastic Agent","requires_auth":"low_privilege","summary":"Elastic Agent leaks secrets into log files when debug logging is enabled, requiring administrators to avoid debug mode or secure logs.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"elastic","cpe":[{"product":"elastic_agent","vendor":"elastic"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"An issue was discovered whereby Elastic Agent will leak secrets from the agent policy elastic-agent.yml only when the log level is configured to debug. By default the log level is set to info, where no leak occurs.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Elastic Agent Insertion of Sensitive Information into Log File","id":"CVE-2024-37283","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Elastic Defend Improper Handling of Alternate Encoding Leads to Crash","id":"CVE-2024-37284"},"packages":[],"prev":{"headline":"Privilege escalation in Elastic Cloud Enterprise","id":"CVE-2024-37282"},"products":["Elastic Agent"],"published":"2024-08-08","related":[{"cvss_score":7.8,"headline":"Incorrect Permission Assignment for Critical Resource in Elastic Agent Leading to Local Privilege Escalation to SYSTEM","id":"CVE-2026-78604","kev_date_added":null,"published":"2026-09-02"},{"cvss_score":6.8,"headline":"Elastic Agent Insertion of Sensitive Information into Log File","id":"CVE-2023-6687","kev_date_added":null,"published":"2023-12-12"},{"cvss_score":6.2,"headline":"Elastic Agent / Elastic Endpoint Security local API key disclosure","id":"CVE-2023-46669","kev_date_added":null,"published":"2025-05-01"},{"cvss_score":4.4,"headline":"Elastic Agent Inclusion of Functionality from Untrusted Control Sphere","id":"CVE-2024-52976","kev_date_added":null,"published":"2025-05-01"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-09","vendors":["Elastic"]},"summary":"Elastic Agent leaks secrets into log files when debug logging is enabled, requiring administrators to avoid debug mode or secure logs.","url":"https://insights.sbomify.com/CVE-2024-37283/"}