Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 651734 Details for
Bug 734622
<kde-apps/ark-20.04.3-r1: Arbitrary file overwrite via malicious archives (CVE-2020-16116)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CVE-2020-16116 patch
ark-path-traversal-CVE-2020-16116.patch (text/plain), 689 bytes, created by
kevinmbecause
on 2020-07-31 02:33:26 UTC
(
hide
)
Description:
CVE-2020-16116 patch
Filename:
MIME Type:
Creator:
kevinmbecause
Created:
2020-07-31 02:33:26 UTC
Size:
689 bytes
patch
obsolete
>--- ./kerfuffle/jobs.cpp.old 2020-03-01 04:37:45.000000000 -0500 >+++ ./kerfuffle/jobs.cpp 2020-07-30 22:19:08.857513920 -0400 >@@ -181,6 +181,14 @@ > > void Job::onEntry(Archive::Entry *entry) > { >+ const QString entryFullPath = entry->fullPath(); >+ if (QDir::cleanPath(entryFullPath).contains(QLatin1String("../"))) { >+ qCWarning(ARK) << "Possibly malicious archive. Detected entry that could lead to a directory traversal attack:" << entryFullPath; >+ onError(i18n("Could not load the archive because it contains ill-formed entries and might be a malicious archive."), QString()); >+ onFinished(false); >+ return; >+ } >+ > emit newEntry(entry); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 734622
: 651734