Every CVE Search/ Get API key

CVE-2024-22034

Crafted projects can overwrite special files in the .osc config directory

5.5 MediumFix available

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

0.21%Up 0.2 points since Oct 17, 2024
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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
  • 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
  • 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
  • 1.8.1

    • Command-line:
      • Fix 'linkpac' command crash when used with '--disable-build' or '--disable-publish' option
  • 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
  • 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 rpmlint to 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…
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

Show 4 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
osc
Debian: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 less
1.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
osc
Debian:13
before 1.9.0-1
1.9.0-1
osc
Debian:14
before 1.9.0-1
1.9.0-1
osc
openEuler:22.03-LTS-SP4
before 0.177.0-2.oe2203sp4
0.177.0-2.oe2203sp4
osc
openEuler:22.03-LTS-SP3
before 0.177.0-2.oe2203sp3
0.177.0-2.oe2203sp3
osc
openEuler:20.03-LTS-SP4
before 0.169.1-4.oe2003sp4
0.169.1-4.oe2003sp4
osc
openEuler:22.03-LTS-SP1
before 0.177.0-2.oe2203sp1
0.177.0-2.oe2203sp1
osc
openEuler:24.03-LTS
before 1.9.1-1.oe2403
1.9.1-1.oe2403
osc
SUSE:Linux Enterprise Module for Development Tools 15 SP5
before 1.9.0-150400.10.6.1
1.9.0-150400.10.6.1
osc
SUSE: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
Affected packages
PackageAffectedFixed
osc
openSUSE:Leap 15.5
before 1.9.0-150400.10.6.1
1.9.0-150400.10.6.1
osc
openSUSE:Leap 15.6
before 1.9.0-150400.10.6.1
1.9.0-150400.10.6.1
osc
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 0.183.0-15.18.1
0.183.0-15.18.1
osc
Ubuntu:16.04:LTS
All versions, plus listed versions
0.152.0-1
None known
osc
Ubuntu:18.04:LTS
All versions, plus listed versions
0.159.0-10.160.0-10.161.1-10.162.1-1
None known
osc
Ubuntu:20.04:LTS
All versions, plus listed versions
0.164.2-10.164.2-1build10.165.4-10.167.1-1
None known
osc
Ubuntu:22.04:LTS
All versions, plus listed versions
0.169.1-1
None known
osc
Ubuntu:24.04:LTS
All versions, plus listed versions
0.169.1-20.169.1-2ubuntu1
None known
osc
openSUSE:Tumbleweed
before 1.9.0-1.1
1.9.0-1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 10 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open