Bug 2050853 (CVE-2021-23566) - CVE-2021-23566 nanoid: Information disclosure via valueOf() function
Summary: CVE-2021-23566 nanoid: Information disclosure via valueOf() function
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-23566
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: 2053623 2053624 2053625 2053626 2056084 2056942 2060130 2062974 2062975 2062976 2065490 2065495 2069288 2069289 2069290 2069291 2069292 2069293 2069555 2079065
Blocks: 2050841
TreeView+ depends on / blocked
 
Reported: 2022-02-04 19:18 UTC by Todd Cullum
Modified: 2022-09-23 20:09 UTC (History)
88 users (show)

Fixed In Version: nanoid 3.1.31
Clone Of:
Environment:
Last Closed: 2022-03-04 05:32:16 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0595 0 None None None 2022-02-22 21:58:17 UTC
Red Hat Product Errata RHSA-2022:1083 0 None None None 2022-03-28 19:36:42 UTC
Red Hat Product Errata RHSA-2022:1476 0 None None None 2022-04-20 23:46:20 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:34:29 UTC
Red Hat Product Errata RHSA-2022:6156 0 None None None 2022-08-24 13:46:25 UTC

Description Todd Cullum 2022-02-04 19:18:09 UTC
The package nanoid from 3.0.0 and before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.

References:
https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
https://snyk.io/vuln/SNYK-JS-NANOID-2332193
Upstream PR: https://github.com/ai/nanoid/pull/328
Upstream commit: https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575

Comment 4 errata-xmlrpc 2022-02-22 21:58:11 UTC
This issue has been addressed in the following products:

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

Via RHSA-2022:0595 https://access.redhat.com/errata/RHSA-2022:0595

Comment 6 Product Security DevOps Team 2022-03-04 05:32:12 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-2021-23566

Comment 11 Patrick Del Bello 2022-03-28 16:35:23 UTC
Created golang-ariga-atlas tracking bugs for this issue:

Affects: fedora-all [bug 2069293]


Created golang-vitess tracking bugs for this issue:

Affects: fedora-all [bug 2069288]


Created pcs tracking bugs for this issue:

Affects: fedora-all [bug 2069289]


Created python-ipyparallel tracking bugs for this issue:

Affects: fedora-all [bug 2069290]


Created vagrant tracking bugs for this issue:

Affects: fedora-all [bug 2069291]


Created zuul tracking bugs for this issue:

Affects: fedora-all [bug 2069292]

Comment 13 errata-xmlrpc 2022-03-28 19:36:36 UTC
This issue has been addressed in the following products:

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

Via RHSA-2022:1083 https://access.redhat.com/errata/RHSA-2022:1083

Comment 16 errata-xmlrpc 2022-04-20 23:46:16 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8

Via RHSA-2022:1476 https://access.redhat.com/errata/RHSA-2022:1476

Comment 17 errata-xmlrpc 2022-08-10 10:34:25 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.11

Via RHSA-2022:5069 https://access.redhat.com/errata/RHSA-2022:5069

Comment 18 errata-xmlrpc 2022-08-24 13:46:21 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Data Foundation 4.11 on RHEL8

Via RHSA-2022:6156 https://access.redhat.com/errata/RHSA-2022:6156


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