{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/42489?format=json","vulnerability_id":"VCID-wfjy-maft-huh3","summary":"pghoard is a PostgreSQL backup daemon and restore tooling that stores backup data in cloud object stores. A vulnerability has been discovered that could allow an attacker to acquire disk access with privileges equivalent to those of pghoard, allowing for unintended path traversal. Depending on the permissions/privileges assigned to pghoard, this could allow disclosure of sensitive information. This issue has been addressed in releases after 2.2.2a. Users are advised to upgrade. There are no known workarounds for this vulnerability.","aliases":[{"alias":"CVE-2024-56142"},{"alias":"GHSA-m9hc-vxjj-4x6q"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/372377?format=json","purl":"pkg:pypi/pghoard@2.6.1rc0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@2.6.1rc0"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/769227?format=json","purl":"pkg:pypi/pghoard@1.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@1.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/769228?format=json","purl":"pkg:pypi/pghoard@1.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@1.1.0"},{"url":"http://public2.vulnerablecode.io/api/packages/769229?format=json","purl":"pkg:pypi/pghoard@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@1.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/769230?format=json","purl":"pkg:pypi/pghoard@1.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@1.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/769231?format=json","purl":"pkg:pypi/pghoard@1.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@1.4.0"},{"url":"http://public2.vulnerablecode.io/api/packages/769232?format=json","purl":"pkg:pypi/pghoard@1.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@1.5.0"},{"url":"http://public2.vulnerablecode.io/api/packages/769233?format=json","purl":"pkg:pypi/pghoard@1.7.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@1.7.0"},{"url":"http://public2.vulnerablecode.io/api/packages/769234?format=json","purl":"pkg:pypi/pghoard@2.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@2.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/769235?format=json","purl":"pkg:pypi/pghoard@2.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wfjy-maft-huh3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pghoard@2.1.0"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56142","reference_id":"","reference_type":"","scores":[{"value":"0.00083","scoring_system":"epss","scoring_elements":"0.24531","published_at":"2026-06-12T12:55:00Z"},{"value":"0.00083","scoring_system":"epss","scoring_elements":"0.24336","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56142"},{"reference_url":"https://github.com/Aiven-Open/pghoard","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"4.8","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/Aiven-Open/pghoard"},{"reference_url":"https://github.com/Aiven-Open/pghoard/commit/fe9947642cc73bcacf6d19b93eb98f442223fb47","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"4.8","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/Aiven-Open/pghoard/commit/fe9947642cc73bcacf6d19b93eb98f442223fb47"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56142","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"4.8","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56142"},{"reference_url":"https://github.com/advisories/GHSA-m9hc-vxjj-4x6q","reference_id":"GHSA-m9hc-vxjj-4x6q","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-m9hc-vxjj-4x6q"},{"reference_url":"https://github.com/Aiven-Open/pghoard/security/advisories/GHSA-m9hc-vxjj-4x6q","reference_id":"GHSA-m9hc-vxjj-4x6q","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"4.8","scoring_system":"cvssv4","scoring_elements":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-12-18T15:38:14Z/"}],"url":"https://github.com/Aiven-Open/pghoard/security/advisories/GHSA-m9hc-vxjj-4x6q"}],"weaknesses":[{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-wfjy-maft-huh3"}