Improper Authorization in googleapis

googleapis Updated 02 Oct 2025

Summary

02/09/2020
HIGH
Yes i
High
Not published

GHSA-7543-mr7h-6v86: Improper Authorization in googleapis. Affects googleapis versions < 39.1.0. Fixed in 39.1.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The googleapis package is an npm package that provides a set of client libraries for interacting with various Google APIs. It allows developers to easily integrate their applications with Google services such as Google Cloud, Google Drive, and Google Calendar. The package is widely used in Node.js applications for accessing Google APIs.

Vulnerability Detail

Versions of googleapis prior to 39.1.0 are vulnerable to Improper Authorization. This vulnerability arises from a flaw where setting credentials to one client may apply to all clients, causing requests to be sent with incorrect credentials. This can lead to unauthorized access to sensitive data or actions on behalf of the affected user. The vulnerability has a severity rating of HIGH and is classified under CWE-285.

How To Fix

Minimum fixed version

39.1.0

This is the first release that contains the fix.

npm install googleapis@39.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the googleapis package prior to version 39.1.0 is vulnerable to Improper Authorization. It is crucial to upgrade to the latest version to ensure that credentials are correctly applied to individual clients and to mitigate the risk of unauthorized access to sensitive data or actions. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for googleapis →

Share this vulnerability

FAQ

This vulnerability can result in unauthorized access to sensitive data or actions on behalf of the affected user.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will provide real-time alerts for open-source vulnerabilities.

No, only versions prior to 39.1.0 are affected. It is recommended to upgrade to the latest version to mitigate the vulnerability.

No specific workaround is mentioned for this vulnerability. Upgrading to the fixed version is the recommended solution.

How To Fix

Minimum fixed version

39.1.0

This is the first release that contains the fix.

npm install googleapis@39.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback