Bug 1495273

Summary: use of RC4 for PKCS#12 certificate encryption causes pk12util to crash
Product: Red Hat Enterprise Linux 7 Reporter: Hubert Kario <hkario>
Component: nssAssignee: Daiki Ueno <dueno>
Status: CLOSED ERRATA QA Contact: Hubert Kario <hkario>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: dueno, kengert, szidek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nss-3.33.0-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 09:46:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1492845    

Description Hubert Kario 2017-09-25 16:20:36 UTC
Description of problem:
When pk12util is asked to export pkcs12 file with certificate encrypted with RC4 it will crash with a segmentation fault

Version-Release number of selected component (if applicable):
nss-3.28.4-14.el7_4.x86_64

How reproducible:
always

Steps to Reproduce:
1. create nss database with key and associated certificate
2. pk12util -o x13.p12 -n ca -w pwfile -k pwfile -d sql:nssdb/ -C 'PKCS #12 V2 PBE With SHA-1 And 128 Bit RC4'
3.

Actual results:
Segmentation fault

Expected results:
Exported file, certificate encrypted with RC4

Additional info:

Comment 8 errata-xmlrpc 2018-04-10 09:46:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:0679