Bug 1033570 - nettle: guard against large alloca sizes
Summary: nettle: guard against large alloca sizes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nettle
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Nikos Mavrogiannopoulos
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On:
Blocks: 1033527
TreeView+ depends on / blocked
 
Reported: 2013-11-22 12:06 UTC by Florian Weimer
Modified: 2014-06-18 08:14 UTC (History)
3 users (show)

Fixed In Version: nettle-2.6-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:02:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Florian Weimer 2013-11-22 12:06:23 UTC
In several places, TMP_ALLOC is used with potentially large arguments.  This can cause a stack overflow.  Functions taking key_size arguments (e.g., pkcs1_decrypt, pkcs1_encrypt, pkcs1_rsa_digest_encode, ...) and nettle_mpz_random_size are affected.

Comment 2 Nikos Mavrogiannopoulos 2013-12-11 11:06:10 UTC
I got in contact with upstream to get a fix. Once the upstream decides on the fix I'll backport it.

http://lists.lysator.liu.se/pipermail/nettle-bugs/2013/002853.html

Comment 3 Nikos Mavrogiannopoulos 2013-12-13 16:17:00 UTC
http://lists.lysator.liu.se/pipermail/nettle-bugs/2013/002898.html

Comment 10 Ludek Smid 2014-06-13 12:02:25 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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