Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. think-config
  4. ›
  5. GMS-2021-45

GMS-2021-45: Improperly Controlled Modification of Object Prototype Attributes

August 3, 2021 (updated October 8, 2021)

Impact

The software receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Patches

think-config@1.1.3 patched it, anyone used think-config should upgrade to >=1.1.3 version.

References

https://cwe.mitre.org/data/definitions/1321.html

For more information

If you have any questions or comments about this advisory:

  • Open an issue in thinkjs/thinkjs
  • Email us at i@imnerd.org

References

  • github.com/advisories/GHSA-6cj2-92m5-7mvp
  • github.com/thinkjs/think-config/security/advisories/GHSA-6cj2-92m5-7mvp

Code Behaviors & Features

Detect and mitigate GMS-2021-45 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.3

Fixed versions

  • 1.1.3

Solution

Upgrade to version 1.1.3 or above.

Source file

npm/think-config/GMS-2021-45.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.