{"answers":{"affected":"10 open source packages ship an affected version, including github.com/canonical/pebble and pebble. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-3250 in the wild and no public exploit code.","fix":"Upgrade github.com/canonical/pebble to a fixed version for your release line: 1.1.1, 1.4.2, 1.7.3 or 1.10.2.","what":"CVE-2024-3250 is a medium-severity missing authorization vulnerability in Canonical Ltd. Pebble, published on 4 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-3250 and fix it if it is affected.\n\nWhat it is: CVE-2024-3250 is a medium-severity missing authorization vulnerability in Canonical Ltd. Pebble, published on 4 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-3250 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/canonical/pebble (Go): affected all versions; fixed in 1.1.1, 1.4.2, 1.7.3, 1.10.2\n- github.com/canonical/pebble (Go): affected all versions; fixed in 1.1.1\n- github.com/canonical/pebble (Go): affected all versions; fixed in 1.1.1\n- github.com/canonical/pebble (Go): affected from 1.2.0; fixed in 1.4.2\n- github.com/canonical/pebble (Go): affected from 1.2.0; fixed in 1.4.2\n- github.com/canonical/pebble (Go): affected from 1.5.0; fixed in 1.7.3\n- github.com/canonical/pebble (Go): affected from 1.5.0; fixed in 1.7.3\n- github.com/canonical/pebble (Go): affected from 1.8.0; fixed in 1.10.2\n- github.com/canonical/pebble (Go): affected from 1.8.0; fixed in 1.10.2\n- pebble (Bitnami): affected all versions; fixed in 1.4.1, 1.7.3, 1.10.2\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-3250/ (Markdown: https://insights.sbomify.com/CVE-2024-3250/index.md)","id":"CVE-2024-3250","markdown":"https://insights.sbomify.com/CVE-2024-3250/index.md","name":"CVE-2024-3250","record":{"aliases":["BIT-pebble-2024-3250","GHSA-4685-2x5r-65pj","GO-2024-2692"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Pebble service manager","requires_auth":"low_privilege","summary":"Unprivileged local users can read arbitrary files with root permissions via the Pebble read-file API when running as root.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"pebble","vendor":"canonical"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"description":"It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also available as backports to v1.1.1, v1.4.2, and v1.7.4.","ecosystems":["Bitnami","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":"Pebble service manager's file pull API allows access by any user","id":"CVE-2024-3250","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":10,"n_references":2,"next":{"headline":"SourceCodester Computer Laboratory Management System sql injection","id":"CVE-2024-3251"},"packages":[{"ecosystem":"Bitnami","fixed":["1.4.1","1.7.3","1.10.2"],"introduced":["0","1.4.2","1.7.4"],"last_affected":[],"package":"pebble","purl":"pkg:bitnami/pebble","source":"BIT-pebble-2024-3250"},{"ecosystem":"Go","fixed":["1.1.1","1.4.2","1.7.3","1.10.2"],"introduced":["0","1.2.0","1.5.0","1.8.0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":"pkg:golang/github.com/canonical/pebble","source":"GO-2024-2692"},{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":null,"source":"GHSA-4685-2x5r-65pj"},{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":"pkg:golang/github.com/canonical/pebble","source":"GHSA-4685-2x5r-65pj"},{"ecosystem":"Go","fixed":["1.4.2"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":null,"source":"GHSA-4685-2x5r-65pj"},{"ecosystem":"Go","fixed":["1.4.2"],"introduced":["1.2.0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":"pkg:golang/github.com/canonical/pebble","source":"GHSA-4685-2x5r-65pj"},{"ecosystem":"Go","fixed":["1.7.3"],"introduced":["1.5.0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":null,"source":"GHSA-4685-2x5r-65pj"},{"ecosystem":"Go","fixed":["1.7.3"],"introduced":["1.5.0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":"pkg:golang/github.com/canonical/pebble","source":"GHSA-4685-2x5r-65pj"},{"ecosystem":"Go","fixed":["1.10.2"],"introduced":["1.8.0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":null,"source":"GHSA-4685-2x5r-65pj"},{"ecosystem":"Go","fixed":["1.10.2"],"introduced":["1.8.0"],"last_affected":[],"package":"github.com/canonical/pebble","purl":"pkg:golang/github.com/canonical/pebble","source":"GHSA-4685-2x5r-65pj"}],"prev":{"headline":"Zita Elementor Site Library \u003c= 1.6.2 - Missing Authorization to Page Creation and Options Modification","id":"CVE-2024-3249"},"products":["Pebble"],"published":"2024-04-04","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"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-11-06","vendors":["Canonical Ltd."]},"summary":"Unprivileged local users can read arbitrary files with root permissions via the Pebble read-file API when running as root.","url":"https://insights.sbomify.com/CVE-2024-3250/"}