CVE-2024-51753: @workos inc/authkit remix @workos-inc/authkit-remix Refresh Tokens Are Logged Vulnerability
LOWCVE-2024-51753 is a LOW @workos-inc/authkit-remix refresh tokens are logged vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting @workos inc/authkit remix libraries in the npm ecosystem. The issue involves @workos-inc/authkit-remix refresh tokens are logged when the debug flag is enabled. Remediation is available by upgrading affected packages to version 0.4.1.
CVE-2024-51753 at a Glance
How to Fix CVE-2024-51753
To remediate this vulnerability, upgrade all affected @workos inc/authkit remix dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @workos-inc/authkit-remix@0.4.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @workos-inc/authkit-remix
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-51753, inspect your project dependencies using npm:
npm ls @workos-inc/authkit-remix
Analyze the terminal output to locate any version of @workos inc/authkit remix in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.1), your application is affected.
Note: The npm ls @workos-inc/authkit-remix command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In @workos inc/authkit remix, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-51753 Affected @workos inc/authkit remix Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@workos-inc/authkit-remix
|
npm |
< 0.4.1
|
0.4.1
|
References
Frequently Asked Questions
What is CVE-2024-51753?
Which @workos inc/authkit remix versions are affected?
What version fixes CVE-2024-51753?
Is @workos-inc/authkit-remix affected?
What CWE is associated with CVE-2024-51753?
How can I check npm dependencies for CVE-2024-51753?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v2qh-f584-6hj8",
"modified" : "2024-11-05T21:37:20Z",
"published" : "2024-11-05T17:34:47Z",
"aliases" : [ "CVE-2024-51753" ],
"summary" : "@workos-inc/authkit-remix refresh tokens are logged when the debug flag is enabled",
"details" : "### Impact\nRefresh tokens are logged to the console when the disabled by default `debug` flag, is enabled.\n\n### Patches\nPatched in [https://github.com/workos/authkit-remix/releases/tag/v0.4.1](https://github.com/workos/authkit-remix/releases/tag/v0.4.1)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@workos-inc/authkit-remix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.4.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/workos/authkit-remix/security/advisories/GHSA-v2qh-f584-6hj8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-51753"
}, {
"type" : "WEB",
"url" : "https://github.com/workos/authkit-remix/commit/32d5bcd54c795c1e2a3204f8e3977ab9ad57ec06"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/workos/authkit-remix"
}, {
"type" : "WEB",
"url" : "https://github.com/workos/authkit-remix/releases/tag/v0.4.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-05T17:34:47Z",
"nvd_published_at" : "2024-11-05T20:15:15Z"
}
}