CVE-2022-46155
Airtable.js credentials exposed in browser builds
Description
Airtable.js is the JavaScript client for Airtable. Prior to version 0.11.6, Airtable.js had a misconfigured build script in its source package. When the build script is run, it would bundle environment variables into the build target of a transpiled bundle. Specifically, the AIRTABLE_API_KEY and AIRTABLE_ENDPOINT_URL environment variables are inserted during Browserify builds due to being referenced in Airtable.js code. This only affects copies of Airtable.js built from its source, not those installed via npm or yarn. Airtable API keys set in users’ environments via the AIRTABLE_API_KEY environment variable may be bundled into local copies of Airtable.js source code if all of the following conditions are met: 1) the user has cloned the Airtable.js source onto their machine, 2) the user runs the `npm prepare` script, and 3) the user' has the AIRTABLE_API_KEY environment variable set. If these conditions are met, a user’s local build of Airtable.js would be modified to include the value of the AIRTABLE_API_KEY environment variable, which could then be accidentally shipped in the bundled code. Users who do not meet all three of these conditions are not impacted by this issue. Users should upgrade to Airtable.js version 0.11.6 or higher; or, as a workaround unset the AIRTABLE_API_KEY environment variable in their shell and/or remove it from your .bashrc, .zshrc, or other shell configuration files. Users should also regenerate any Airtable API keys they use, as the keysy may be present in bundled code.
INFO
Published Date :
Nov. 29, 2022, 11:15 p.m.
Last Modified :
Nov. 21, 2024, 7:30 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] |
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-46155
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-46155
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-46155
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-46155
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-46155
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/Airtable/airtable.js/pull/330/commits/b468d8fe48d75e3d5fe46d0ea7770f4658951ed0 Added Reference https://github.com/Airtable/airtable.js/releases/tag/v0.11.6 Added Reference https://github.com/Airtable/airtable.js/security/advisories/GHSA-vqm5-9546-x25v -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 07, 2023
Action Type Old Value New Value Changed Reference Type https://github.com/Airtable/airtable.js/pull/330/commits/b468d8fe48d75e3d5fe46d0ea7770f4658951ed0 Patch, Third Party Advisory https://github.com/Airtable/airtable.js/pull/330/commits/b468d8fe48d75e3d5fe46d0ea7770f4658951ed0 Patch Changed Reference Type https://github.com/Airtable/airtable.js/releases/tag/v0.11.6 Third Party Advisory https://github.com/Airtable/airtable.js/releases/tag/v0.11.6 Release Notes Changed Reference Type https://github.com/Airtable/airtable.js/security/advisories/GHSA-vqm5-9546-x25v Third Party Advisory https://github.com/Airtable/airtable.js/security/advisories/GHSA-vqm5-9546-x25v Vendor Advisory Added CWE NIST CWE-312 -
Initial Analysis by [email protected]
Dec. 02, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/Airtable/airtable.js/pull/330/commits/b468d8fe48d75e3d5fe46d0ea7770f4658951ed0 No Types Assigned https://github.com/Airtable/airtable.js/pull/330/commits/b468d8fe48d75e3d5fe46d0ea7770f4658951ed0 Patch, Third Party Advisory Changed Reference Type https://github.com/Airtable/airtable.js/releases/tag/v0.11.6 No Types Assigned https://github.com/Airtable/airtable.js/releases/tag/v0.11.6 Third Party Advisory Changed Reference Type https://github.com/Airtable/airtable.js/security/advisories/GHSA-vqm5-9546-x25v No Types Assigned https://github.com/Airtable/airtable.js/security/advisories/GHSA-vqm5-9546-x25v Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:airtable:airtable:*:*:*:*:*:node.js:*:* versions up to (excluding) 0.11.6
Vulnerability Scoring Details
Base CVSS Score: 7.6
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.08 }} 0.02%
score
0.24322
percentile