Every CVE Search/ Get API key

CVE-2018-12476

obs-service-extract_file's outfilename parameter allows to write files outside of package directory

4.3 Medium

Relative Path Traversal vulnerability in obs-service-tar_scm of SUSE Linux Enterprise Server 15; openSUSE Factory allows remote attackers with control over a repository to overwrite files on the machine of the local user if a malicious service is executed. This issue affects: SUSE Linux Enterprise Server 15 obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74:. openSUSE Factory obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

1.03%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 4.3

obs-service-extract_file's outfilename parameter allows to write files outside of package directory

Relative Path Traversal vulnerability in obs-service-tar_scm of SUSE Linux Enterprise Server 15; openSUSE Factory allows remote attackers with control over a repository to overwrite files on the machine of the local user if a malicious service is executed. This issue affects: SUSE Linux Enterprise Server 15 obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74:. openSUSE Factory obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74.

Record
CVE-2018-12476
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness
CWE-23
Updated
2026-11-02
EUVDEUVD-2018-4446 4.3

Relative Path Traversal vulnerability in obs-service-tar_scm of SUSE Linux Enterprise Server 15; openSUSE Factory allows remote attackers with control over a repository to overwrite files on the machine of the local user if a malicious service is executed. This issue affects: SUSE Linux Enterprise Server 15 obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74:. openSUSE Factory obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74.

Record
EUVD-2018-4446
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-7vq9-fwhq-w55p No score

Relative Path Traversal vulnerability in obs-service-tar_scm of SUSE Linux Enterprise Server 15;...

Relative Path Traversal vulnerability in obs-service-tar_scm of SUSE Linux Enterprise Server 15; openSUSE Factory allows remote attackers with control over a repository to overwrite files on the machine of the local user if a malicious service is executed. This issue affects: SUSE Linux Enterprise Server 15 obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74:. openSUSE Factory obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74.

Record
GHSA-7vq9-fwhq-w55p
Updated
2026-11-02
NVD 4.3

Relative Path Traversal vulnerability in obs-service-tar_scm of SUSE Linux Enterprise Server 15; openSUSE Factory allows remote attackers with control over a repository to overwrite files on the machine of the local user if a malicious service is executed. This issue affects: SUSE Linux Enterprise Server 15 obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74:. openSUSE Factory obs-service-tar_scm versions prior to 0.9.2.1537788075.fefaa74.

Record
CVE-2018-12476
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:N/I:P/A:P
Weakness
CWE-23, CWE-22
Updated
2026-11-02
OSVopenSUSE-SU-2019:0326-1 No score

Security update for obs-service-tar_scm

This update for obs-service-tar_scm fixes the following issues:

Security vulnerabilities addressed:

  • CVE-2018-12473: Fixed a path traversal issue, which allowed users to access files outside of the repository using relative paths (bsc#1105361)
  • CVE-2018-12474: Fixed an issue whereby crafted service parameters allowed for unexpected behaviour (bsc#1107507)
  • CVE-2018-12476: Fixed an issue whereby the outfilename parameter allowed to write files outside of package directory (bsc#1107944)

Other bug fixes and changes made:

  • Prefer UTF-8 locale as output format for changes
  • added KankuFile
  • fix problems with unicode source files
  • added python-six to Requires in specfile
  • better encoding handling
  • fixes bsc#1082696 and bsc#1076410
  • fix unicode in containers
  • move to python3
  • added logging for better debugging changesgenerate
  • raise exception if no changesauthor given
  • Stop using @opensuse.org addresses to indicate a missing address
  • move argparse dep to -common package
  • allow submodule and ssl options in appimage
  • sync spec file as used in openSUSE:Tools project
  • check encoding problems for svn and print proper error msg
  • added new param '--locale'
  • separate service file installation in GNUmakefile
  • added glibc as Recommends in spec file
  • cleanup for broken svn caches
  • another fix for unicode problem in obs_scm
  • Final fix for unicode in filenames
  • Another attempt to fix unicode filenames in prep_tree_for_archive
  • Another attempt to fix unicode filenames in prep_tree_for_archive
  • fix bug with unicode filenames in prep_tree_for_archive
  • reuse _service*_servicedata/changes files from previous service runs
  • fix problems with unicode characters in commit messages for changeloggenerate
  • fix encoding issues if commit message contains utf8 char
  • revert encoding for old changes file
  • remove hardcoded utf-8 encodings
  • Add support for extract globbing
  • split pylint2 in GNUmakefile
  • fix check for '--reproducible'
  • create reproducible obscpio archives
  • fix regression from 44b3bee
  • Support also SSH urls for Git
  • check name/version option in obsinfo for slashes
  • check url for remote url
  • check symlinks in subdir parameter
  • check filename for slashes
  • disable follow_symlinks in extract feature
  • switch to obs_scm for this package
  • run download_files in appimage and snapcraft case
  • check --extract file path for parent dir
  • Fix parameter descriptions
  • changed os.removedirs -> shutil.rmtree
  • Adding information regarding the package-metadata option for the tar service The tar service is highly useful in combination with the obscpio service. After the fix for the metadata for the latter one, it is important to inform the users of the tar service that metadata is kept only if the flag package-metadata is enabled. Add the flag to the .service file for mentioning that.
  • Allow metadata packing for CPIO archives when desired As of now, metadata are always excluded from obscpio packages. This is because the package-metadata flag is ignored; this change (should) make obscpio aware of it.
  • improve handling of corrupt git cache directories
  • only do git stash save/pop if we have a non-empty working tree (#228)
  • don't allow DEBUG_TAR_SCM to change behaviour (#240)
  • add stub user docs in lieu of something proper (#238)
  • Remove clone_dir if clone fails
  • python-unittest2 is only required for the optional make check
  • move python-unittest2 dep to test suite only part (submission by olh)
  • Removing redundant pass statement
  • missing import for logging functions.
  • [backend] Adding http proxy support
  • python-unittest2 is only required for the optional make check
  • make installation of scm's optional
  • add a lot more detail to README
  • Git clone with --no-checkout in prepare_working_copy
  • Refactor and simplify git prepare_working_copy
  • Only use current dir if it actually looks like git (Fixes #202)
  • reactivate test_obscpio_extract_d
  • fix broken test create_archive
  • fix broken tests…
Record
openSUSE-SU-2019:0326-1
Updated
2026-11-02
OSVopenSUSE-SU-2019:0329-1 No score

Security update for obs-service-tar_scm

This update for obs-service-tar_scm fixes the following issues:

Security vulnerabilities addressed:

  • CVE-2018-12473: Fixed a path traversal issue, which allowed users to access files outside of the repository using relative paths (bsc#1105361)
  • CVE-2018-12474: Fixed an issue whereby crafted service parameters allowed for unexpected behaviour (bsc#1107507)
  • CVE-2018-12476: Fixed an issue whereby the outfilename parameter allowed to write files outside of package directory (bsc#1107944)

Other bug fixes and changes made:

  • Prefer UTF-8 locale as output format for changes
  • added KankuFile
  • fix problems with unicode source files
  • added python-six to Requires in specfile
  • better encoding handling
  • fixes bsc#1082696 and bsc#1076410
  • fix unicode in containers
  • move to python3
  • added logging for better debugging changesgenerate
  • raise exception if no changesauthor given
  • Stop using @opensuse.org addresses to indicate a missing address
  • move argparse dep to -common package
  • allow submodule and ssl options in appimage
  • sync spec file as used in openSUSE:Tools project
  • check encoding problems for svn and print proper error msg
  • added new param '--locale'
  • separate service file installation in GNUmakefile
  • added glibc as Recommends in spec file
  • cleanup for broken svn caches
  • another fix for unicode problem in obs_scm
  • Final fix for unicode in filenames
  • Another attempt to fix unicode filenames in prep_tree_for_archive
  • Another attempt to fix unicode filenames in prep_tree_for_archive
  • fix bug with unicode filenames in prep_tree_for_archive
  • reuse _service*_servicedata/changes files from previous service runs
  • fix problems with unicode characters in commit messages for changeloggenerate
  • fix encoding issues if commit message contains utf8 char
  • revert encoding for old changes file
  • remove hardcoded utf-8 encodings
  • Add support for extract globbing
  • split pylint2 in GNUmakefile
  • fix check for '--reproducible'
  • create reproducible obscpio archives
  • fix regression from 44b3bee
  • Support also SSH urls for Git
  • check name/version option in obsinfo for slashes
  • check url for remote url
  • check symlinks in subdir parameter
  • check filename for slashes
  • disable follow_symlinks in extract feature
  • switch to obs_scm for this package
  • run download_files in appimage and snapcraft case
  • check --extract file path for parent dir
  • Fix parameter descriptions
  • changed os.removedirs -> shutil.rmtree
  • Adding information regarding the package-metadata option for the tar service The tar service is highly useful in combination with the obscpio service. After the fix for the metadata for the latter one, it is important to inform the users of the tar service that metadata is kept only if the flag package-metadata is enabled. Add the flag to the .service file for mentioning that.
  • Allow metadata packing for CPIO archives when desired As of now, metadata are always excluded from obscpio packages. This is because the package-metadata flag is ignored; this change (should) make obscpio aware of it.
  • improve handling of corrupt git cache directories
  • only do git stash save/pop if we have a non-empty working tree (#228)
  • don't allow DEBUG_TAR_SCM to change behaviour (#240)
  • add stub user docs in lieu of something proper (#238)
  • Remove clone_dir if clone fails
  • python-unittest2 is only required for the optional make check
  • move python-unittest2 dep to test suite only part (submission by olh)
  • Removing redundant pass statement
  • missing import for logging functions.
  • [backend] Adding http proxy support
  • python-unittest2 is only required for the optional make check
  • make installation of scm's optional
  • add a lot more detail to README
  • Git clone with --no-checkout in prepare_working_copy
  • Refactor and simplify git prepare_working_copy
  • Only use current dir if it actually looks like git (Fixes #202)
  • reactivate test_obscpio_extract_d
  • fix broken test create_archive
  • fix broken tests…
Record
openSUSE-SU-2019:0329-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11107-1 No score

obs-service-appimage-0.10.28.1632141620.a8837d3-1.1 on GA media

These are all security issues fixed in the obs-service-appimage-0.10.28.1632141620.a8837d3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11107-1
Updated
2026-11-02
OSVSUSE-SU-2019:0540-1 No score

Security update for obs-service-tar_scm

This update for obs-service-tar_scm fixes the following issues:

Security vulnerabilities addressed:

  • CVE-2018-12473: Fixed a path traversal issue, which allowed users to access files outside of the repository using relative paths (bsc#1105361)
  • CVE-2018-12474: Fixed an issue whereby crafted service parameters allowed for unexpected behaviour (bsc#1107507)
  • CVE-2018-12476: Fixed an issue whereby the outfilename parameter allowed to write files outside of package directory (bsc#1107944)

Other bug fixes and changes made:

  • Prefer UTF-8 locale as output format for changes
  • added KankuFile
  • fix problems with unicode source files
  • added python-six to Requires in specfile
  • better encoding handling
  • fixes bsc#1082696 and bsc#1076410
  • fix unicode in containers
  • move to python3
  • added logging for better debugging changesgenerate
  • raise exception if no changesauthor given
  • Stop using @opensuse.org addresses to indicate a missing address
  • move argparse dep to -common package
  • allow submodule and ssl options in appimage
  • sync spec file as used in openSUSE:Tools project
  • check encoding problems for svn and print proper error msg
  • added new param '--locale'
  • separate service file installation in GNUmakefile
  • added glibc as Recommends in spec file
  • cleanup for broken svn caches
  • another fix for unicode problem in obs_scm
  • Final fix for unicode in filenames
  • Another attempt to fix unicode filenames in prep_tree_for_archive
  • Another attempt to fix unicode filenames in prep_tree_for_archive
  • fix bug with unicode filenames in prep_tree_for_archive
  • reuse _service*_servicedata/changes files from previous service runs
  • fix problems with unicode characters in commit messages for changeloggenerate
  • fix encoding issues if commit message contains utf8 char
  • revert encoding for old changes file
  • remove hardcoded utf-8 encodings
  • Add support for extract globbing
  • split pylint2 in GNUmakefile
  • fix check for '--reproducible'
  • create reproducible obscpio archives
  • fix regression from 44b3bee
  • Support also SSH urls for Git
  • check name/version option in obsinfo for slashes
  • check url for remote url
  • check symlinks in subdir parameter
  • check filename for slashes
  • disable follow_symlinks in extract feature
  • switch to obs_scm for this package
  • run download_files in appimage and snapcraft case
  • check --extract file path for parent dir
  • Fix parameter descriptions
  • changed os.removedirs -> shutil.rmtree
  • Adding information regarding the package-metadata option for the tar service The tar service is highly useful in combination with the obscpio service. After the fix for the metadata for the latter one, it is important to inform the users of the tar service that metadata is kept only if the flag package-metadata is enabled. Add the flag to the .service file for mentioning that.
  • Allow metadata packing for CPIO archives when desired As of now, metadata are always excluded from obscpio packages. This is because the package-metadata flag is ignored; this change (should) make obscpio aware of it.
  • improve handling of corrupt git cache directories
  • only do git stash save/pop if we have a non-empty working tree (#228)
  • don't allow DEBUG_TAR_SCM to change behaviour (#240)
  • add stub user docs in lieu of something proper (#238)
  • Remove clone_dir if clone fails
  • python-unittest2 is only required for the optional make check
  • move python-unittest2 dep to test suite only part (submission by olh)
  • Removing redundant pass statement
  • missing import for logging functions.
  • [backend] Adding http proxy support
  • python-unittest2 is only required for the optional make check
  • make installation of scm's optional
  • add a lot more detail to README
  • Git clone with --no-checkout in prepare_working_copy
  • Refactor and simplify git prepare_working_copy
  • Only use current dir if it actually looks like git (Fixes #202)
  • reactivate test_obscpio_extract_d
  • fix broken test create_archive
  • fix broken tests…
Record
SUSE-SU-2019:0540-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
obs-service-tar_scm
openSUSE:Leap 15.0
From an advisory covering 3 CVEs
before 0.10.5.1551309990.79898c7-lp150.2.3.1
0.10.5.1551309990.79898c7-lp150.2.3.1
obs-service-tar_scm
SUSE:Package Hub 15
From an advisory covering 3 CVEs
before 0.10.5.1551309990.79898c7-bp150.3.3.1
0.10.5.1551309990.79898c7-bp150.3.3.1
obs-service-tar_scm
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 0.10.28.1632141620.a8837d3-1.1
0.10.28.1632141620.a8837d3-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-12476 is a medium vulnerability (CVSS 4.3) in Opensuse Factory, published March 4, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.03%, the 63rd percentile. No source names a fixed version.

References

Show 8 moreShow less
This page doesn't list everything

Left out here: the rest of 3 source descriptions. The JSON record has them.

MoveEnter Open