|
Bugzilla – Full Text Bug Listing |
| Summary: | VUL-0: CVE-2023-30571: libarchive: race condition in multi-threaded use of archive_write_disk_header() on posix based systems | ||
|---|---|---|---|
| Product: | [Novell Products] SUSE Security Incidents | Reporter: | Gabriele Sonnu <gabriele.sonnu> |
| Component: | Incidents | Assignee: | Security Team bot <security-team> |
| Status: | NEW --- | QA Contact: | Security Team bot <security-team> |
| Severity: | Minor | ||
| Priority: | P3 - Medium | CC: | security-team |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| URL: | https://smash.suse.de/issue/367776/ | ||
| Whiteboard: | CVSSv3.1:SUSE:CVE-2023-30571:3.9:(AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N) | ||
| Found By: | Security Response Team | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Gabriele Sonnu
2023-05-31 07:07:49 UTC
No patch yet. the window is super small:
libarchive/archive_write_disk_posix.c: umask(a->user_umask = umask(0));
a workaround might be to code this according to man 2 umask:
Since Linux 4.7, the umask of any process can be viewed via the Umask field of /proc/[pid]/status. Inspecting this field in /proc/self/status allows a process to retrieve its umask without at the same time changing it.
although it would really better if someone invents a new syscall for it or overloads umask itself ;)
I am tempted to ignore this issue due to the small window.
This issue is being ignored because it's not a libarchive bug but rather an issue with its usage. See the following for more context: https://github.com/openembedded/openembedded-core/commit/ffa8f92aa6f8405d8fea117af2f212ba190de393 |