Bug 1578234

Summary: nodejs-mysql: Uninitialized memory disclosure in when a number is provided as a password
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, dbaker, jokerman, nodejs-sig, sthangav, tdawson, trankin, viktor.vix.jancik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20170517,reported=20180515,source=internet,cvss3=3.1/CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N,cwe=CWE-20,fedora-all/nodejs-mysql=affected,epel-all/nodejs-mysql=affected,openshift-online-2/nodejs-mysql=affected
Fixed In Version: nodejs-mysql 2.14.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1578235, 1578236, 1578610    
Bug Blocks: 1578237    

Description Sam Fowler 2018-05-15 01:31:12 EDT
Versions of mysql before 2.14.0 are vulnerable to remove memory exposure.

Affected versions of mysql package allocate and send an uninitialized memory over the network when a number is provided as a password.

Only mysql running on Node.js versions below 6.0.0 is affected due to a throw added in newer node.js versions.


External Reference:

https://nodesecurity.io/advisories/602


Upstream Commit:

https://github.com/mysqljs/mysql/commit/310c6a7d1b2e14b63b572dbfbfa10128f20c6d52
Comment 1 Sam Fowler 2018-05-15 01:31:34 EDT
Created nodejs-mysql tracking bugs for this issue:

Affects: epel-all [bug 1578236]
Affects: fedora-all [bug 1578235]