{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-22115 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-22115 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-22115 is a medium-severity vulnerability in Cloud Control API, published on 8 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-22115 and fix it if it is affected.\n\nWhat it is: CVE-2021-22115 is a medium-severity vulnerability in Cloud Control API, published on 8 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-22115 in the wild and no public exploit code.\n\nAffected product: Cloud Control API. 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-2021-22115/ (Markdown: https://insights.sbomify.com/CVE-2021-22115/index.md)","id":"CVE-2021-22115","markdown":"https://insights.sbomify.com/CVE-2021-22115/index.md","name":"CVE-2021-22115","record":{"aliases":["GHSA-vhwm-f423-2fx6"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Cloud Controller API","requires_auth":"low_privilege","summary":"Attackers with log access can read service broker credentials if database logging is enabled, exposing sensitive authentication data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"capi-release","vendor":"cloudfoundry"},{"product":"cf-deployment","vendor":"cloudfoundry"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"Cloud Controller API versions prior to 1.106.0 logs service broker credentials if the default value of db logging config field is changed. CAPI database logs service broker password in plain text whenever a job to clean up orphaned items is run by Cloud Controller.","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":"Information disclosure in Cloud Control API","id":"CVE-2021-22115","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"RabbitMQ all versions prior to 3.8.16 are prone to a denial of service vulnerability due to improper input validation in AMQP 1.0 client connection endpoint.","id":"CVE-2021-22116"},"packages":[],"prev":{"headline":"Path Traversal in Spring-integration-zip","id":"CVE-2021-22114"},"products":["Cloud Control API"],"published":"2021-04-08","related":[{"cvss_score":8.8,"headline":"Auth bypass in Cloud Controller","id":"CVE-2018-1195","kev_date_added":null,"published":"2018-03-19"},{"cvss_score":8.5,"headline":"Cloud Controller may allow developers to claim sensitive routes","id":"CVE-2020-5417","kev_date_added":null,"published":"2020-08-21"},{"cvss_score":8.1,"headline":"Missing authorization in Cloud Controller API","id":"CVE-2023-20881","kev_date_added":null,"published":"2023-05-19"},{"cvss_score":8.1,"headline":"Path traversal in n/a","id":"CVE-2018-1266","kev_date_added":null,"published":"2018-03-27"},{"cvss_score":8,"headline":"Cloud Controller logs environment variables from app manifests","id":"CVE-2020-5400","kev_date_added":null,"published":"2020-02-27"},{"cvss_score":7.8,"headline":"Path traversal in Cloud Controller API CAPI-release versions prior to v1.35.0 and cf-release versions prior to v268","id":"CVE-2017-8033","kev_date_added":null,"published":"2017-07-25"},{"cvss_score":7.8,"headline":"Code injection in Cloud Controller API CAPI-release version 1.33.0 only","id":"CVE-2017-8036","kev_date_added":null,"published":"2017-07-24"}],"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-08-03","vendors":["n/a"]},"summary":"Attackers with log access can read service broker credentials if database logging is enabled, exposing sensitive authentication data.","url":"https://insights.sbomify.com/CVE-2021-22115/"}