Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1628040 - (CVE-2018-16424) CVE-2018-16424 opensc: Double free handling responses from smartcards in tools/egk-tool.c:read_file()
CVE-2018-16424 opensc: Double free handling responses from smartcards in tool...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180912,repor...
: Security
Depends On: 1628042 1628041
Blocks: 1622787
  Show dependency treegraph
 
Reported: 2018-09-12 02:18 EDT by Sam Fowler
Modified: 2018-09-18 04:04 EDT (History)
5 users (show)

See Also:
Fixed In Version: opensc 0.19.0-rc1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-18 04:04:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Fowler 2018-09-12 02:18:15 EDT
A double free when handling responses in read_file in tools/egk-tool.c (aka the eGK card tool) in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.


External References:

https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/


Upstream Patch:

https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-476b3b2a03c4eef331b4b0bfece4b063
Comment 1 Sam Fowler 2018-09-12 02:18:46 EDT
Created opensc tracking bugs for this issue:

Affects: fedora-all [bug 1628041]
Comment 3 Doran Moppert 2018-09-18 03:51:23 EDT
The affected file does not exist in opensc-0.16.0, nor do its predecessors (read_file & related functions elsewhere) seem to realloc.

Note You need to log in before you can comment on or make changes to this bug.