CVE-2020-24653

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

published August 26, 2020

CVSS
—
EPSS
1%
Percentile
67.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky policy setting could leave your sensitive data exposed. If using Expo's secure-store on iOS versions up to 2.16.1, the kSecAttrAccessibleAlwaysThisDeviceOnly setting can be a real tripwire! Think of it like putting your valuables in a safe that’s only locked when you’re watching it. If someone can access your safe without your knowledge, that protection isn’t worth much! An attacker could potentially access sensitive data stored by your app while it remains unlocked, leading to unauthorized information exposure. This could be particularly damaging for applications handling private user data, making it essential to address this vulnerability!

Put simply

Think of it like putting your valuables in a safe that’s only locked when you’re watching it. If someone can access your safe without your knowledge, that protection isn’t worth much! The vulnerability stems from Expo's secure-store on iOS, which incorrectly implements the kSecAttrAccessibleAlwaysThisDeviceOnly policy when using the WHEN_UNLOCKED_THIS_DEVICE_ONLY setting, allowing data access when the device is unlocked without proper checks.

What to do

An attacker could potentially access sensitive data stored by your app while it remains unlocked, leading to unauthorized information exposure. This could be particularly damaging for applications handling private user data, making it essential to address this vulnerability! To fortify your application, ensure that you upgrade to a version of Expo beyond 2.16.1, where this issue is resolved. Review your secure-store configurations to enhance data protection settings appropriately! You've got this! With these steps, you'll secure your app like a pro! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01170 · 67.2th percentile
Published
2020-08-26T04:04Z
EPSS history
Timeline
  • 26 AUG 04:04Z
    secure-store in Expo through 2.16.1 on iOS provides the insecure kSecAttrAccessibleAlwaysThisDeviceOnly policy when WHEN_UNLOCKED_THIS_DEVICE_ONLY is used
    cvelistv5