|
Bugzilla – Full Text Bug Listing |
| Summary: | VUL-0:CVE-2004-0690: insecure tempfile: dcopserver uses tempnam due to missing configure check | ||
|---|---|---|---|
| Product: | [Novell Products] SUSE Security Incidents | Reporter: | Waldo Bastian <bastian> |
| Component: | Incidents | Assignee: | Thomas Biege <thomas> |
| Status: | RESOLVED FIXED | QA Contact: | Security Team bot <security-team> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | kde-maintainers, patch-request, security-team |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | CVE-2004-0690: CVSS v2 Base Score: 4.6 (AV:L/AC:L/Au:N/C:P/I:P/A:P) | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Patch for dcopserver (kdelibs)
patchinfo.kdelibs3-4vulns patchinfo-box.kdelibs3-4vulns patchinfo.kdelibs3-3vulns patchinfo-box.kdelibs3-3vulns |
||
|
Description
Waldo Bastian
2004-07-26 18:16:01 UTC
<!-- SBZ_reproduce -->
The following command shows that tempnam is used:
nm -D /opt/kde3/lib/libkdeinit_dcopserver.so|egrep 'tempnam|mkstemp'
U tempnam
Created attachment 22386 [details]
Patch for dcopserver (kdelibs)
Attached patch fixes by using the MKSTEMPS (notice the extra S) test and by
falling back to a local copy of mkstemps instead of tempnam if the system
provided mkstemps is not found (but mktemps should be picked up correctly,
check config.h!)
Please review patch. KDE security advisory is planned for august 11, together
with the other one(s).
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0690 to this issue. See also bug 58269 which is a kdelibs issue as well. And then there is bug 58271 but we still don't have a good patch it. patch got check into SLES9. reassign to Thomas for tracking. regarding comment #2, patch looks ok (based on widely used glibc code) Created attachment 22564 [details]
patchinfo.kdelibs3-4vulns
Created attachment 22565 [details]
patchinfo-box.kdelibs3-4vulns
Created attachment 22577 [details]
patchinfo.kdelibs3-3vulns
Created attachment 22578 [details]
patchinfo-box.kdelibs3-3vulns
packages approved CVE-2004-0690: CVSS v2 Base Score: 4.6 (AV:L/AC:L/Au:N/C:P/I:P/A:P) |