# SUSE-SU-2023:2571-1: Security update for Salt


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 21 Jun 2023

## What is SUSE-SU-2023:2571-1?

SUSE-SU-2023:2571-1 is a vulnerability in python-jmespath, published on 21 Jun 2023. 

### Official description

This update for salt fixes the following issues:

salt:

- Update to Salt release version 3006.0 (jsc#PED-4361)
  * See release notes: https://docs.saltproject.io/en/latest/topics/releases/3006.0.html
- Add missing patch after rebase to fix collections Mapping issues
- Add python3-looseversion as new dependency for salt
- Add python3-packaging as new dependency for salt
- Allow entrypoint compatibility for 'importlib-metadata>=5.0.0' (bsc#1207071)
- Avoid conflicts with Salt dependencies versions (bsc#1211612)
- Avoid failures due transactional_update module not available in Salt 3006.0 (bsc#1211754)
- Create new salt-tests subpackage containing Salt tests
- Drop conflictive patch dicarded from upstream
- Fix package build with old setuptools versions
- Fix SLS rendering error when Jinja macros are used
- Fix version detection and avoid building and testing failures
- Prevent deadlocks in salt-ssh executions
- Require python3-jmespath runtime dependency (bsc#1209233)
- Make master_tops compatible with Salt 3000 and older minions (bsc#1212516, bsc#1212517)
    
python-jmespath:
    
- Deliver python3-jmespath to SUSE Linux Enterprise Micro on s390x architecture as it is now required by Salt
  (no source changes)
    
python-ply:
    
- Deliver python3-ply to SUSE Linux Enterprise Micro on s390x architecture as it is a requirement for python-jmespath
  (no source changes)

## Which versions are affected by SUSE-SU-2023:2571-1?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `python-jmespath` | SUSE:Enterprise Storage 7 | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Enterprise Storage 7 | All versions | 3.10-150000.3.3.4 |
| `python-jmespath` | SUSE:Enterprise Storage 7.1 | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Enterprise Storage 7.1 | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Enterprise Storage 7.1 | All versions | 3.17.2-150300.3.2.3 |
| `python-jmespath` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 3.10-150000.3.3.4 |
| `python-jmespath` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 3.10-150000.3.3.4 |
| `python-jmespath` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 3.17.2-150300.3.2.3 |
| `python-jmespath` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 3.17.2-150300.3.2.3 |
| `python-jmespath` | SUSE:Linux Enterprise Micro 5.1 | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise Micro 5.1 | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Linux Enterprise Micro 5.1 | All versions | 3.17.2-150300.3.2.3 |
| `python-jmespath` | SUSE:Linux Enterprise Micro 5.2 | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise Micro 5.2 | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Linux Enterprise Micro 5.2 | All versions | 3.17.2-150300.3.2.3 |
| `python-jmespath` | SUSE:Linux Enterprise Micro 5.3 | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise Micro 5.3 | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Linux Enterprise Micro 5.3 | All versions | 3.17.2-150300.3.2.3 |
| `salt` | SUSE:Linux Enterprise Micro 5.3 | All versions | 3006.0-150400.8.34.2 |
| `python-jmespath` | SUSE:Linux Enterprise Micro 5.4 | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise Micro 5.4 | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Linux Enterprise Micro 5.4 | All versions | 3.17.2-150300.3.2.3 |
| `salt` | SUSE:Linux Enterprise Micro 5.4 | All versions | 3006.0-150400.8.34.2 |
| `python-jmespath` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 3.17.2-150300.3.2.3 |
| `salt` | SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 3006.0-150400.8.34.2 |
| `python-jmespath` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 0.9.3-150000.3.3.4 |
| `python-ply` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 3.10-150000.3.3.4 |
| `python-simplejson` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 3.17.2-150300.3.2.3 |
| `python-jmespath` | SUSE:Linux Enterprise Module for Package Hub 15 SP4 | All versions | 0.9.3-150000.3.3.4 |
| `python-jmespath` | SUSE:Linux Enterprise Module for Package Hub 15 SP5 | All versions | 0.9.3-150000.3.3.4 |
| `salt` | SUSE:Linux Enterprise Module for Server Applications 15 SP4 | All versions | 3006.0-150400.8.34.2 |
| `salt` | SUSE:Linux Enterprise Module for Transactional Server 15 SP4 | All versions | 3006.0-150400.8.34.2 |

## How do I fix SUSE-SU-2023:2571-1?

Upgrade to a fixed version.

## Is SUSE-SU-2023:2571-1 being exploited?

There is no known exploitation of SUSE-SU-2023:2571-1 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for SUSE-SU-2023:2571-1 and fix it if it is affected.

What it is: SUSE-SU-2023:2571-1 is a vulnerability in python-jmespath, published on 21 Jun 2023. 
Exploitation: There is no known exploitation of SUSE-SU-2023:2571-1 in the wild and no public exploit code.

Affected product: python-jmespath. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/SUSE-SU-2023-2571-1/ (Markdown: https://insights.sbomify.com/SUSE-SU-2023-2571-1/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/SUSE-SU-2023:2571-1

---
From sbomify Insights: https://insights.sbomify.com/SUSE-SU-2023-2571-1/
Summaries are generated and may contain mistakes; the official description above is the record.
