CVE-2020-24653: Expo Expo On IOS Is Insecure Vulnerability
MODERATECVE-2020-24653 is a MODERATE expo on ios is insecure vulnerability (General Security Weakness) affecting Expo libraries in the npm ecosystem. The issue involves expo on ios is insecure due incorrect security attribute application. Remediation is available by upgrading affected packages to version 9.1.0.
CVE-2020-24653 at a Glance
How to Fix CVE-2020-24653
To remediate this vulnerability, upgrade all affected Expo 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 expo@9.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls expo
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2020-24653, inspect your project dependencies using npm:
npm ls expo
Analyze the terminal output to locate any version of Expo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.1.0), your application is affected.
Note: The npm ls expo 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 General Security Weakness. In Expo, 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-2020-24653 Affected Expo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
expo
|
npm |
< 9.1.0
|
9.1.0
|
References
Frequently Asked Questions
What is CVE-2020-24653?
Which Expo versions are affected?
What version fixes CVE-2020-24653?
Is expo affected?
What CWE is associated with CVE-2020-24653?
How can I check npm dependencies for CVE-2020-24653?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rwx9-wqj8-vr77",
"modified" : "2022-09-15T19:40:49Z",
"published" : "2022-05-24T17:26:43Z",
"aliases" : [ "CVE-2020-24653" ],
"summary" : "Expo on iOS is insecure due incorrect security attribute application",
"details" : "secure-store in Expo through 9.1.0 on iOS provides the insecure kSecAttrAccessibleAlwaysThisDeviceOnly policy when WHEN_UNLOCKED_THIS_DEVICE_ONLY is used.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "expo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-24653"
}, {
"type" : "WEB",
"url" : "https://github.com/expo/expo/pull/9264"
}, {
"type" : "WEB",
"url" : "https://github.com/expo/expo/commit/1d82bf07fae2c96273e9189997e521359cffc1a9#diff-5b2820f378da980bd8a8185e2e1b2f9ce085d834534483f29c67932f282cc5c9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/expo/expo"
}, {
"type" : "WEB",
"url" : "https://github.com/expo/expo/blob/main/packages/expo-secure-store/CHANGELOG.md"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-15T19:40:49Z",
"nvd_published_at" : "2020-08-26T05:15:00Z"
}
}