From 1a4984f54bc77d93b680b1df9cead24a03d65a71 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 18:08:32 +0000 Subject: [PATCH] Publish Advisories GHSA-4277-m35q-7c9w GHSA-4277-m35q-7c9w --- .../GHSA-4277-m35q-7c9w.json | 88 +++++++++++++++++++ .../GHSA-4277-m35q-7c9w.json | 38 -------- 2 files changed, 88 insertions(+), 38 deletions(-) create mode 100644 advisories/github-reviewed/2024/11/GHSA-4277-m35q-7c9w/GHSA-4277-m35q-7c9w.json delete mode 100644 advisories/unreviewed/2024/11/GHSA-4277-m35q-7c9w/GHSA-4277-m35q-7c9w.json diff --git a/advisories/github-reviewed/2024/11/GHSA-4277-m35q-7c9w/GHSA-4277-m35q-7c9w.json b/advisories/github-reviewed/2024/11/GHSA-4277-m35q-7c9w/GHSA-4277-m35q-7c9w.json new file mode 100644 index 00000000000..3a2b9f754e7 --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-4277-m35q-7c9w/GHSA-4277-m35q-7c9w.json @@ -0,0 +1,88 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-4277-m35q-7c9w", + "modified": "2024-11-14T18:06:53Z", + "published": "2024-11-14T06:30:45Z", + "aliases": [ + "CVE-2023-34049" + ], + "summary": "Salt preflight script could be attacker controlled", + "details": "The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH. Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "salt" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "3005.4" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "salt" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "3006.0rc1" + }, + { + "fixed": "3006.4" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34049" + }, + { + "type": "WEB", + "url": "https://github.com/saltstack/salt/commit/286d55eb5a6e6bf9428405bdf5632b419bdf8444" + }, + { + "type": "WEB", + "url": "https://github.com/saltstack/salt/commit/7a14112f2a16ce70e3c3e1862c92e37af5f2c7a4" + }, + { + "type": "PACKAGE", + "url": "https://github.com/saltstack/salt" + }, + { + "type": "WEB", + "url": "https://saltproject.io/security-announcements/2023-10-27-advisory" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-340" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-11-14T18:06:53Z", + "nvd_published_at": "2024-11-14T05:15:28Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2024/11/GHSA-4277-m35q-7c9w/GHSA-4277-m35q-7c9w.json b/advisories/unreviewed/2024/11/GHSA-4277-m35q-7c9w/GHSA-4277-m35q-7c9w.json deleted file mode 100644 index d3d0ba17636..00000000000 --- a/advisories/unreviewed/2024/11/GHSA-4277-m35q-7c9w/GHSA-4277-m35q-7c9w.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-4277-m35q-7c9w", - "modified": "2024-11-14T06:30:45Z", - "published": "2024-11-14T06:30:45Z", - "aliases": [ - "CVE-2023-34049" - ], - "details": "The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH. Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.", - "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H" - } - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34049" - }, - { - "type": "WEB", - "url": "https://saltproject.io/security-announcements/2023-10-27-advisory" - } - ], - "database_specific": { - "cwe_ids": [ - - ], - "severity": "MODERATE", - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2024-11-14T05:15:28Z" - } -} \ No newline at end of file