CVE-2024-22034
Crafted projects can overwrite special files in the .osc config directory
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.5
Crafted projects can overwrite special files in the .osc config directory
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim
- Record
CVE-2024-22034- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
EUVDEUVD-2024-19638
5.5
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim
- Record
EUVD-2024-19638- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gm3v-m2w5-wm38
5.5
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl)....
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim
- Record
GHSA-gm3v-m2w5-wm38- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
NVD
5.5
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim
- Record
CVE-2024-22034- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-22034
5.5
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim
- Record
DEBIAN-CVE-2024-22034- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVOESA-2024-2133
5.5
osc security update
The osc is an opensuse-commander with svn like handling. It's a command line interface to work with an Open Build Service.
Security Fix(es):
(CVE-2024-22034)
- Record
OESA-2024-2133- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2024-22034
5.5
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim
- Record
UBUNTU-CVE-2024-22034- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSV No score
Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim
- Record
CVE-2024-22034- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14277-1 No score
osc-1.9.0-1.1 on GA media
These are all security issues fixed in the osc-1.9.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14277-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2961-1 No score
Security update for osc
This update for osc fixes the following issues:
-
1.9.0
- Security:
- Fix possibility to overwrite special files in .osc (CVE-2024-22034 bsc#1225911) Source files are now stored in the 'sources' subdirectory which prevents name collisons. This requires changing version of '.osc' store to 2.0.
- Command-line:
- Introduce build --checks parameter
- Library:
- OscConfigParser: Remove automatic name option
- Security:
-
1.8.3
- Command-line:
- Change 'repairwc' command to always run all repair steps
- Library:
- Make most of the fields in KeyinfoPubkey and KeyinfoSslcert models optional
- Fix colorize() to avoid wrapping empty string into color escape sequences
- Provide default values for kwargs.get/pop in get_results() function
- Command-line:
-
1.8.2
- Library:
- Change 'repairwc' command to fix missing .osc/_osclib_version
- Make error message in check_store_version() more generic to work for both projects and packages
- Fix check_store_version in project store
- Library:
-
1.8.1
- Command-line:
- Fix 'linkpac' command crash when used with '--disable-build' or '--disable-publish' option
- Command-line:
-
1.8.0
- Command-line:
- Improve 'submitrequest' command to inherit description from superseded request
- Fix 'mv' command when renaming a file multiple times
- Improve 'info' command to support projects
- Improve 'getbinaries' command by accepting '-M' / '--multibuild-package' option outside checkouts
- Add architecture filtering to 'release' command
- Change 'results' command so the normal and multibuild packages have the same output
- Change 'results' command to use csv writer instead of formatting csv as string
- Add couple mutually exclusive options errors to 'results' command
- Set a default value for 'results --format' only for the csv output
- Add support for 'results --format' for the default text mode
- Update help text for '--format' option in 'results' command
- Add 'results --fail-on-error/-F' flag
- Redirect venv warnings from stderr to debug output
- Configuration:
- Fix config parser to throw an exception on duplicate sections or options
- Modify conf.get_config() to print permissions warning to stderr rather than stdout
- Library:
- Run check_store_version() in obs_scm.Store and fix related code in Project and Package
- Forbid extracting files with absolute path from 'cpio' archives (bsc#1122683)
- Forbid extracting files with absolute path from 'ar' archives (bsc#1122683)
- Remove no longer valid warning from core.unpack_srcrpm()
- Make obs_api.KeyinfoSslcert keyid and fingerprint fields optional
- Fix return value in build build.create_build_descr_data()
- Fix core.get_package_results() to obey 'multibuild_packages' argument
- Tests:
- Fix tests so they don't modify fixtures
- Command-line:
-
1.7.0
- Command-line:
- Add 'person search' command
- Add 'person register' command
- Add '-M/--multibuild-package' option to '[what]dependson' commands
- Update '-U/--user' option in 'maintainer' command to accept also an email address
- Fix 'branch' command to allow using '--new-package' option on packages that do not exist
- Fix 'buildinfo' command to include obs:cli_debug_packages by default
- Fix 'buildinfo' command to send complete local build environment as the 'build' command does
- Fix 'maintainer --devel-project' to raise an error if running outside a working copy without any arguments
- Fix handling arguments in 'service remoterun prj/pac'
- Fix 'rebuild' command so the '--all' option conflicts with the 'package' argument
- Fix crash when removing 'scmsync' element from dst package meta in 'linkpac' command
- Fix crash when reading dst package meta in 'linkpac' command
- Allow
osc rpmlintto infer prj/pkg from CWD - Propagate exit code from the run() and do_() commandline methods
- Give a hint where a scmsync git is hosted
- Fix crash…
- Command-line:
- Record
SUSE-SU-2024:2961-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2963-1 No score
Security update for osc
This update for osc fixes the following issues:
0.183.0
- Fix possibility to overwrite special files in .osc (CVE-2024-22034 bsc#1225911) Source files are now stored in the 'sources' subdirectory which prevents name collisons. This requires changing version of '.osc' store to 2.0.
- Fix errorneous double quotes in core.py
- Record
SUSE-SU-2024:2963-1- Updated
- 2026-11-02
Affected products
- suse opensuse leap 15.5
- suse opensuse leap 15.6
- suse opensuse tumbleweed
- suse linux enterprise desktop 15 sp5
- suse linux enterprise desktop 15 sp6
- suse linux enterprise high performance computing 15 sp5
- suse linux enterprise high performance computing 15 sp6
- suse linux enterprise module for development tools 15 sp5
- suse linux enterprise module for development tools 15 sp6
- suse linux enterprise server 12 sp5
- suse linux enterprise server 15 sp5
- suse linux enterprise server 15 sp6
Affected packages
| Package | Affected | Fixed |
|---|---|---|
oscDebian:12 |
All versions, plus listed versions 0.169.1-20.182.1-11.10.1-11.11.1-11.12.0-1 Show 13 moreShow less1.12.1-11.12.1-21.15.1-11.7.0-11.7.0-21.7.0-31.7.0-41.7.0-51.8.3-11.9.0-11.9.1-11.9.1-21.9.2-1 |
None known |
oscDebian:13 |
before 1.9.0-1 | 1.9.0-1 |
oscDebian:14 |
before 1.9.0-1 | 1.9.0-1 |
oscopenEuler:22.03-LTS-SP4 |
before 0.177.0-2.oe2203sp4 | 0.177.0-2.oe2203sp4 |
oscopenEuler:22.03-LTS-SP3 |
before 0.177.0-2.oe2203sp3 | 0.177.0-2.oe2203sp3 |
oscopenEuler:20.03-LTS-SP4 |
before 0.169.1-4.oe2003sp4 | 0.169.1-4.oe2003sp4 |
oscopenEuler:22.03-LTS-SP1 |
before 0.177.0-2.oe2203sp1 | 0.177.0-2.oe2203sp1 |
oscopenEuler:24.03-LTS |
before 1.9.1-1.oe2403 | 1.9.1-1.oe2403 |
oscSUSE:Linux Enterprise Module for Development Tools 15 SP5 |
before 1.9.0-150400.10.6.1 | 1.9.0-150400.10.6.1 |
oscSUSE:Linux Enterprise Module for Development Tools 15 SP6 |
before 1.9.0-150400.10.6.1 | 1.9.0-150400.10.6.1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
oscopenSUSE:Leap 15.5 |
before 1.9.0-150400.10.6.1 | 1.9.0-150400.10.6.1 |
oscopenSUSE:Leap 15.6 |
before 1.9.0-150400.10.6.1 | 1.9.0-150400.10.6.1 |
oscSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 0.183.0-15.18.1 | 0.183.0-15.18.1 |
oscUbuntu:16.04:LTS |
All versions, plus listed versions 0.152.0-1 |
None known |
oscUbuntu:18.04:LTS |
All versions, plus listed versions 0.159.0-10.160.0-10.161.1-10.162.1-1 |
None known |
oscUbuntu:20.04:LTS |
All versions, plus listed versions 0.164.2-10.164.2-1build10.165.4-10.167.1-1 |
None known |
oscUbuntu:22.04:LTS |
All versions, plus listed versions 0.169.1-1 |
None known |
oscUbuntu:24.04:LTS |
All versions, plus listed versions 0.169.1-20.169.1-2ubuntu1 |
None known |
oscopenSUSE:Tumbleweed |
before 1.9.0-1.1 | 1.9.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-22034 is a medium vulnerability (CVSS 5.5) in Suse Opensuse Leap 15.5, published August 19, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 11th percentile. Fixed in osc 1.9.0-1.
References
bugzilla.suse.com/show_bug.cgi?id=CVE-2024-22034
nvd.nist.gov/vuln/detail/CVE-2024-22034
github.com/advisories/GHSA-gm3v-m2w5-wm38
security-tracker.debian.org/tracker/CVE-2024-22034
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-2133
suse.com/support/update/announcement/2024/suse-su-20242961-1
Show 10 moreShow less
bugzilla.suse.com/1122683
bugzilla.suse.com/1212476
bugzilla.suse.com/1218170
bugzilla.suse.com/1221340
bugzilla.suse.com/1225911
suse.com/security/cve/CVE-2024-22034
suse.com/support/update/announcement/2024/suse-su-20242963-1
ubuntu.com/security/CVE-2024-22034
cve.org/CVERecord?id=CVE-2024-22034
bugzilla.suse.com/show_bug.cgi?id=1225911
Left out here: the rest of 1 source description. The JSON record has them.