GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2023-34049
Vulnerability from osv_ubuntu
Published
2024-11-14 05:15
Modified
2026-04-08 12:28
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "salt-common",
            "binary_version": "0.17.5+ds-1ubuntu0.1~esm5"
          },
          {
            "binary_name": "salt-master",
            "binary_version": "0.17.5+ds-1ubuntu0.1~esm5"
          },
          {
            "binary_name": "salt-minion",
            "binary_version": "0.17.5+ds-1ubuntu0.1~esm5"
          },
          {
            "binary_name": "salt-ssh",
            "binary_version": "0.17.5+ds-1ubuntu0.1~esm5"
          },
          {
            "binary_name": "salt-syndic",
            "binary_version": "0.17.5+ds-1ubuntu0.1~esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "salt",
        "purl": "pkg:deb/ubuntu/salt@0.17.5+ds-1ubuntu0.1~esm5?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.16.0-1",
        "0.16.4-2",
        "0.17.1+dfsg-1",
        "0.17.2-1",
        "0.17.2-2",
        "0.17.2-3",
        "0.17.4-1",
        "0.17.4-2",
        "0.17.5-1",
        "0.17.5+ds-1",
        "0.17.5+ds-1ubuntu0.1~esm1",
        "0.17.5+ds-1ubuntu0.1~esm2",
        "0.17.5+ds-1ubuntu0.1~esm4",
        "0.17.5+ds-1ubuntu0.1~esm5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "salt-api",
            "binary_version": "2015.8.8+ds-1ubuntu0.1+esm2"
          },
          {
            "binary_name": "salt-cloud",
            "binary_version": "2015.8.8+ds-1ubuntu0.1+esm2"
          },
          {
            "binary_name": "salt-common",
            "binary_version": "2015.8.8+ds-1ubuntu0.1+esm2"
          },
          {
            "binary_name": "salt-master",
            "binary_version": "2015.8.8+ds-1ubuntu0.1+esm2"
          },
          {
            "binary_name": "salt-minion",
            "binary_version": "2015.8.8+ds-1ubuntu0.1+esm2"
          },
          {
            "binary_name": "salt-proxy",
            "binary_version": "2015.8.8+ds-1ubuntu0.1+esm2"
          },
          {
            "binary_name": "salt-ssh",
            "binary_version": "2015.8.8+ds-1ubuntu0.1+esm2"
          },
          {
            "binary_name": "salt-syndic",
            "binary_version": "2015.8.8+ds-1ubuntu0.1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "salt",
        "purl": "pkg:deb/ubuntu/salt@2015.8.8+ds-1ubuntu0.1+esm2?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2015.5.3+ds-1",
        "2015.8.1+ds-2",
        "2015.8.3+ds-1",
        "2015.8.3+ds-2",
        "2015.8.3+ds-3",
        "2015.8.5+ds-1",
        "2015.8.7+ds-1",
        "2015.8.8+ds-1",
        "2015.8.8+ds-1ubuntu0.1~esm1",
        "2015.8.8+ds-1ubuntu0.1",
        "2015.8.8+ds-1ubuntu0.1+esm1",
        "2015.8.8+ds-1ubuntu0.1+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "salt-api",
            "binary_version": "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
          },
          {
            "binary_name": "salt-cloud",
            "binary_version": "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
          },
          {
            "binary_name": "salt-common",
            "binary_version": "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
          },
          {
            "binary_name": "salt-master",
            "binary_version": "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
          },
          {
            "binary_name": "salt-minion",
            "binary_version": "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
          },
          {
            "binary_name": "salt-proxy",
            "binary_version": "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
          },
          {
            "binary_name": "salt-ssh",
            "binary_version": "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
          },
          {
            "binary_name": "salt-syndic",
            "binary_version": "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "salt",
        "purl": "pkg:deb/ubuntu/salt@2017.7.4+dfsg1-1ubuntu18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2016.11.5+ds-1",
        "2016.11.8+dfsg1-1",
        "2017.7.2+dfsg1-2ubuntu1",
        "2017.7.3+dfsg1-1",
        "2017.7.4+dfsg1-1",
        "2017.7.4+dfsg1-1ubuntu18.04.1",
        "2017.7.4+dfsg1-1ubuntu18.04.2",
        "2017.7.4+dfsg1-1ubuntu18.04.2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "salt-api",
            "binary_version": "3004.1+dfsg-2"
          },
          {
            "binary_name": "salt-cloud",
            "binary_version": "3004.1+dfsg-2"
          },
          {
            "binary_name": "salt-common",
            "binary_version": "3004.1+dfsg-2"
          },
          {
            "binary_name": "salt-master",
            "binary_version": "3004.1+dfsg-2"
          },
          {
            "binary_name": "salt-minion",
            "binary_version": "3004.1+dfsg-2"
          },
          {
            "binary_name": "salt-proxy",
            "binary_version": "3004.1+dfsg-2"
          },
          {
            "binary_name": "salt-ssh",
            "binary_version": "3004.1+dfsg-2"
          },
          {
            "binary_name": "salt-syndic",
            "binary_version": "3004.1+dfsg-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "salt",
        "purl": "pkg:deb/ubuntu/salt@3004.1+dfsg-2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3002.6+dfsg1-4",
        "3002.7+dfsg1-1",
        "3004+dfsg1-4",
        "3004+dfsg1-5",
        "3004+dfsg1-6ubuntu1",
        "3004+dfsg1-7",
        "3004+dfsg1-8",
        "3004.1+dfsg-2"
      ]
    }
  ],
  "aliases": [],
  "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.\u00a0Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.",
  "id": "UBUNTU-CVE-2023-34049",
  "modified": "2026-04-08T12:28:55Z",
  "published": "2024-11-14T05:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-34049"
    },
    {
      "type": "REPORT",
      "url": "https://saltproject.io/security-announcements/2023-10-27-advisory/index.html"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-34049"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-34049"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…