You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created this issue to address the vulnerability with using NSCoding. The NSCoding does not verify the type of object upon deserialization and therefore is vulnerable to object substitution attacks.
To mitigate this vulnerability, Apple introduced the NSSecureCoding protocol along with the following secure methods of NSKeyedArchiver and NSKeyedUnarchiver, which are robust against this type of attack:
Hello,
Created this issue to address the vulnerability with using NSCoding. The NSCoding does not verify the type of object upon deserialization and therefore is vulnerable to object substitution attacks.
To mitigate this vulnerability, Apple introduced the NSSecureCoding protocol along with the following secure methods of NSKeyedArchiver and NSKeyedUnarchiver, which are robust against this type of attack:
Apple provides more information in the WWDC20 session, 'Securing Your App'.
The places where unsecure NSKeyedArchiver and NSKeyedUnarchiver is called :
DTCoreText/Core/Source/NSAttributedString+HTML.m
Line 147 in c4cb9c9
DTCoreText/Core/Source/NSAttributedString+HTML.m
Line 162 in c4cb9c9
The text was updated successfully, but these errors were encountered: