PT-2022-27772 · Airtable · Airtable.Js

Davidmally-At

·

Published

2022-11-29

·

Updated

2023-07-07

·

CVE-2022-46155

CVSS v3.1

7.6

High

VectorAV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Airtable.js versions prior to 0.11.6
Description The issue arises from a misconfigured build script in the Airtable.js source package, which bundles 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 affects copies of Airtable.js built from its source, not those installed via npm or yarn. If a user has cloned the Airtable.js source, runs the npm prepare script, and has the AIRTABLE API KEY environment variable set, their local build of Airtable.js may be modified to include the value of the AIRTABLE API KEY environment variable, which could then be accidentally shipped in the bundled code.
Recommendations To resolve the issue, upgrade to Airtable.js version 0.11.6 or higher. As a workaround, unset the AIRTABLE API KEY environment variable in your shell and/or remove it from your .bashrc, .zshrc, or other shell configuration files. Regenerate any Airtable API keys you use, as they may be present in bundled code.

Exploit

Fix

Insufficiently Protected Credentials

Cleartext Storage of Sensitive Information

Weakness Enumeration

Related Identifiers

CVE-2022-46155
GHSA-VQM5-9546-X25V

Affected Products

Airtable.Js