{"answers":{"affected":"3 open source packages ship an affected version, including github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver.","exploited":"There is no known exploitation of CVE-2024-45043 in the wild and no public exploit code.","fix":"Upgrade github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver to 0.108.0 or later.","what":"CVE-2024-45043 is a medium-severity authentication bypass vulnerability in open-telemetry opentelemetry-collector-contrib, published on 28 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-45043 and fix it if it is affected.\n\nWhat it is: CVE-2024-45043 is a medium-severity authentication bypass vulnerability in open-telemetry opentelemetry-collector-contrib, published on 28 Aug 2024. 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-2024-45043 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver (Go): affected from 0.49.0; fixed in 0.108.0\n- github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver (Go): affected from 0.49.0; fixed in 0.108.0\n- github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver (Go): affected from 0.49.0; fixed in 0.108.0\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-45043/ (Markdown: https://insights.sbomify.com/CVE-2024-45043/index.md)","id":"CVE-2024-45043","markdown":"https://insights.sbomify.com/CVE-2024-45043/index.md","name":"CVE-2024-45043","record":{"aliases":["GHSA-prf6-xjxh-p698","GO-2024-3102"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenTelemetry Collector","requires_auth":"none","summary":"Attackers can bypass authentication in the AWS Firehose receiver to inject unauthorized metrics, potentially hiding malicious activity.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"The OpenTelemetry Collector module AWS firehose receiver is for ingesting AWS Kinesis Data Firehose delivery stream messages and parsing the records received based on the configured record type. `awsfirehosereceiver` allows unauthenticated remote requests, even when configured to require a key. OpenTelemetry Collector can be configured to receive CloudWatch metrics via an AWS Firehose Stream. Firehose sets the header `X-Amz-Firehose-Access-Key` with an arbitrary configured string. The OpenTelemetry Collector awsfirehosereceiver can optionally be configured to require this key on incoming requests. However, when this is configured it **still accepts incoming requests with no key**. Only OpenTelemetry Collector users configured with the “alpha” `awsfirehosereceiver` module are affected. This module was added in version v0.49.0 of the “Contrib” distribution (or may be included in custom builds). There is a risk of unauthorized users writing metrics. Carefully crafted metrics could hide other malicious activity. There is no risk of exfiltrating data. It’s likely these endpoints will be exposed to the public internet, as Firehose does not support private HTTP endpoints. A fix was introduced in PR #34847 and released with v0.108.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["Go"],"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":"OpenTelemetry Collector AWS Firehose Receiver Authentication Bypass Vulnerability","id":"CVE-2024-45043","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2024"},"n_packages":3,"n_references":9,"next":{"headline":"Bareos's negative command ACLs can be circumvented by abbreviating commands","id":"CVE-2024-45044"},"packages":[{"ecosystem":"Go","fixed":["0.108.0"],"introduced":["0.49.0"],"last_affected":[],"package":"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver","purl":null,"source":"GHSA-prf6-xjxh-p698"},{"ecosystem":"Go","fixed":["0.108.0"],"introduced":["0.49.0"],"last_affected":[],"package":"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver","purl":"pkg:golang/github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver","source":"GHSA-prf6-xjxh-p698"},{"ecosystem":"Go","fixed":["0.108.0"],"introduced":["0.49.0"],"last_affected":[],"package":"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver","purl":"pkg:golang/github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver","source":"GO-2024-3102"}],"prev":{"headline":"Ory Kratos's `highest_available` setting does not properly respect code + mfa credentials","id":"CVE-2024-45042"},"products":["opentelemetry-collector-contrib"],"published":"2024-08-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-28","vendors":["open-telemetry"]},"summary":"Attackers can bypass authentication in the AWS Firehose receiver to inject unauthorized metrics, potentially hiding malicious activity.","url":"https://insights.sbomify.com/CVE-2024-45043/"}