Bug 1929338 (CVE-2020-35149) - CVE-2020-35149 mquery: Code injection via merge or clone operation
Summary: CVE-2020-35149 mquery: Code injection via merge or clone operation
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-35149
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1939204
Blocks: 1939088
TreeView+ depends on / blocked
 
Reported: 2021-02-16 17:10 UTC by Michael Kaplan
Modified: 2021-09-23 14:38 UTC (History)
6 users (show)

Fixed In Version: mquery 3.2.3
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in mquery that allows a prototype pollution attack. This flaw allows an attacker to alter the code behavior by modifying the object prototype. A flaw in the lib/utils.js function allows cloning and merging objects without sanitizing their special properties, such as prototype defining "__proto__". The highest threat from this vulnerability is to integrity.
Clone Of:
Environment:
Last Closed: 2021-04-26 16:46:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-02-16 17:10:07 UTC
lib/utils.js in mquery before 3.2.3 allows a pollution attack because a special property (e.g., __proto__) can be copied during a merge or clone operation.

Comment 7 Jan Werner 2021-03-22 17:42:45 UTC
Statement:

The affected version of mquery is a dependency of mongoose library. The exploitation of this vulnerability requires authenticated access, consequently the CVSSv3 score for RHACM is lower then the score of the flaw.

Comment 8 errata-xmlrpc 2021-04-26 15:56:06 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 8
  Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 7

Via RHSA-2021:1369 https://access.redhat.com/errata/RHSA-2021:1369

Comment 9 Product Security DevOps Team 2021-04-26 16:46:32 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-35149


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