CVE-2020-24653: Expo Expo On IOS Is Insecure Vulnerability

MODERATE
Advisory Identifier: GHSA-rwx9-wqj8-vr77
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2020-24653
GHSA Identifier GHSA-rwx9-wqj8-vr77
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Expo
Package Ecosystem npm
Published Date
Last Updated

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.

expo fixed: 9.1.0
npm install expo@9.1.0
Verify Direct and Transitive Dependencies

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

secure-store in Expo through 9.1.0 on iOS provides the insecure kSecAttrAccessibleAlwaysThisDeviceOnly policy when WHEN_UNLOCKED_THIS_DEVICE_ONLY is used.

CVE-2020-24653 Affected Expo Versions

1 component(s)
Fixed Versions:
9.1.0
Product / Package Ecosystem Affected Versions Fixed Version
expo
npm
< 9.1.0
9.1.0

References

Frequently Asked Questions

What is CVE-2020-24653?
CVE-2020-24653 is a security vulnerability in Expo involving Expo on iOS is insecure due incorrect security attribute application under General Security Weakness.
Which Expo versions are affected?
Affected versions include releases prior to 9.1.0 across affected packages: expo.
What version fixes CVE-2020-24653?
Upgrading to 9.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is expo affected?
Yes, expo is affected in releases prior to 9.1.0. Upgrade your dependency to 9.1.0 or later.
What CWE is associated with CVE-2020-24653?
CVE-2020-24653 is classified under General Security Weakness.
How can I check npm dependencies for CVE-2020-24653?
Run the dependency tree command: 'npm ls expo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}