Miggo Logo

CVE-2020-24653: Expo on iOS is insecure due incorrect security attribute application

N/A

CVSS Score

Basic Information

EPSS Score
0.61924%
CWE
-
Published
5/24/2022
Updated
2/2/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
-
Package NameEcosystemVulnerable VersionsFirst Patched Version
exponpm< 9.1.09.1.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the iOS security attribute mapping in EXSecureStore.m. The commit diff shows a line change where WHEN_UNLOCKED_THIS_DEVICE_ONLY was incorrectly using the 'Always' accessibility policy instead of 'WhenUnlocked'. This function directly controls the security attributes applied to stored data, making it the clear vulnerability source. The high confidence comes from explicit evidence in the commit showing the incorrect kSecAttrAccessibleAlwaysThisDeviceOnly being replaced with the correct attribute in this specific function.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

s**ur*-stor* in *xpo t*rou** *.*.* on iOS provi**s t** ins**ur* kS***ttr****ssi*l**lw*ysT*is**vi**Only poli*y w**n W**N_UNLO*K**_T*IS_**VI**_ONLY is us**.

Reasoning

T** vuln*r**ility st*ms *rom t** iOS s**urity *ttri*ut* m*ppin* in *XS**ur*Stor*.m. T** *ommit *i** s*ows * lin* ***n** w**r* W**N_UNLO*K**_T*IS_**VI**_ONLY w*s in*orr**tly usin* t** '*lw*ys' ****ssi*ility poli*y inst*** o* 'W**nUnlo*k**'. T*is *un*t