CVEvulnerability
CVE-2013-7372
5.0 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2014-04-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-310
Description
The engineNextBytes function in classlib/modules/security/src/main/java/common/org/apache/harmony/security/provider/crypto/SHA1PRNG_SecureRandomImpl.java in the SecureRandom implementation in Apache Harmony through 6.0M3, as used in the Java Cryptography Architecture (JCA) in Android before 4.4 and other products, when no seed is provided by the user, uses an incorrect offset value, which makes it easier for attackers to defeat cryptographic protection mechanisms by leveraging the resulting PRNG predictability, as exploited in the wild against Bitcoin wallet applications in August 2013.
Affected configurations
• apache harmony (<= 6.0)
• google android (<= 4.3.1)
• google android 4.0
• google android 4.0.1
• google android 4.0.2
• google android 4.0.3
• google android 4.0.4
• google android 4.1
• google android 4.1.2
• google android 4.2
• google android 4.2.1
• google android 4.2.2
• google android 4.3
Related
Weakness · not in database (1)
References
- http://android-developers.blogspot.com.au/2013/08/some-securerandom-thoughts.html Patch
- http://www.nds.rub.de/media/nds/veroeffentlichungen/2013/03/25/paper_2.pdf Exploit
- https://android.googlesource.com/platform/libcore/+/kitkat-release/luni/src/main/java/org/apache/harmony/security/provider/crypto/SHA1PRNG_SecureRandomImpl.java Patch
- https://bitcoin.org/en/alert/2013-08-11-android bitcoin.org
- http://android-developers.blogspot.com.au/2013/08/some-securerandom-thoughts.html Patch
- http://www.nds.rub.de/media/nds/veroeffentlichungen/2013/03/25/paper_2.pdf Exploit
- https://android.googlesource.com/platform/libcore/+/kitkat-release/luni/src/main/java/org/apache/harmony/security/provider/crypto/SHA1PRNG_SecureRandomImpl.java Patch
- https://bitcoin.org/en/alert/2013-08-11-android bitcoin.org