by @LeSuisse Activity log
- Created suggestion
- @LeSuisse dismissed (not in Nixpkgs)
Google::Auth versions before 0.06 for Perl run a command named in an external_account credentials JSON via an ungated system call
Google::Auth versions before 0.06 for Perl run a command named in an external_account credentials JSON via an ungated system call. The Pluggable subclass reads credential_source.executable.command from the credentials JSON and runs it as `system($command)`, a single argument call that passes the whole string to /bin/sh -c. The executable's environment_variables map from the same JSON is copied into %ENV first. No opt-in gate guards the call. make_creds selects the Pluggable subclass whenever credential_source.executable is present, so the path is reached from the standard Application Default Credentials flow, including a "type": "external_account" configuration read from the file named by GOOGLE_APPLICATION_CREDENTIALS. Configurations without credential_source.executable do not select this subclass and do not reach the call. Any caller that builds credentials from a configuration it does not fully control runs the embedded command with the privileges of the application process.
References
Affected products
- <0.06
Matching in nixpkgs
pkgs.google-authenticator
Two-step verification, with pam module
pkgs.python313Packages.google-auth
Google Auth Python Library
pkgs.python314Packages.google-auth
Google Auth Python Library
pkgs.python313Packages.pydata-google-auth
Helpers for authenticating to Google APIs
pkgs.python314Packages.pydata-google-auth
Helpers for authenticating to Google APIs
pkgs.python313Packages.google-auth-httplib2
Google Authentication Library: httplib2 transport
pkgs.python313Packages.google-auth-oauthlib
Google Authentication Library: oauthlib integration
pkgs.python314Packages.google-auth-httplib2
Google Authentication Library: httplib2 transport
Package maintainers
-
@aneeshusa Aneesh Agrawal <aneeshusa@gmail.com>
-
@sarahec Sarah Clark <seclark@nextquestion.net>
-
@terlar Terje Larsen <terlar@gmail.com>
-
@cpcloud Phillip Cloud