{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-3786 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2019-3786 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-3786 is a high-severity code injection vulnerability in Cloud Foundry BOSH Backup and Restore, published on 24 Apr 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-3786 and fix it if it is affected.\n\nWhat it is: CVE-2019-3786 is a high-severity code injection vulnerability in Cloud Foundry BOSH Backup and Restore, published on 24 Apr 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-3786 in the wild and no public exploit code.\n\nAffected product: Cloud Foundry BOSH Backup and Restore. 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-2019-3786/ (Markdown: https://insights.sbomify.com/CVE-2019-3786/index.md)","id":"CVE-2019-3786","markdown":"https://insights.sbomify.com/CVE-2019-3786/index.md","name":"CVE-2019-3786","record":{"aliases":["GHSA-xr6m-h5m8-p48r"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Cloud Foundry BBR CLI","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary scripts on deployment VMs by manipulating BBR metadata, affecting Cloud Foundry BBR CLI users.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"bosh_backup_and_restore","vendor":"cloudfoundry"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"Cloud Foundry BOSH Backup and Restore CLI, all versions prior to 1.5.0, does not check the authenticity of backup scripts in BOSH. A remote authenticated malicious user can modify the metadata file of a Bosh Backup and Restore job to request extra backup files from different jobs upon restore. The exploited hooks in this metadata script were only maintained in the cfcr-etcd-release, so clusters deployed with the BBR job for etcd in this release are vulnerable.","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":"BBR could run arbitrary scripts on deployment VMs","id":"CVE-2019-3786","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2019"},"n_packages":0,"n_references":1,"next":{"headline":"UAA defaults email address to an insecure domain","id":"CVE-2019-3787"},"packages":[],"prev":{"headline":"Cloud Controller provides signed URL with write authorization to read only user","id":"CVE-2019-3785"},"products":["BOSH Backup and Restore"],"published":"2019-04-24","related":[],"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":["Cloud Foundry"]},"summary":"Authenticated attackers can execute arbitrary scripts on deployment VMs by manipulating BBR metadata, affecting Cloud Foundry BBR CLI users.","url":"https://insights.sbomify.com/CVE-2019-3786/"}