CVE Vulnerabilities

CVE-2012-5109

Out-of-bounds Read

Published: Oct 09, 2012 | Modified: Nov 07, 2023
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
4.3 LOW
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V3
Ubuntu
LOW

The International Components for Unicode (ICU) functionality in Google Chrome before 22.0.1229.92 allows remote attackers to cause a denial of service (out-of-bounds read) via vectors related to a regular expression.

Weakness

The product reads data past the end, or before the beginning, of the intended buffer.

Affected Software

Name Vendor Start Version End Version
Chrome Google * 22.0.1229.91 (including)
Chrome Google 22.0.1229.0 (including) 22.0.1229.0 (including)
Chrome Google 22.0.1229.1 (including) 22.0.1229.1 (including)
Chrome Google 22.0.1229.2 (including) 22.0.1229.2 (including)
Chrome Google 22.0.1229.3 (including) 22.0.1229.3 (including)
Chrome Google 22.0.1229.4 (including) 22.0.1229.4 (including)
Chrome Google 22.0.1229.6 (including) 22.0.1229.6 (including)
Chrome Google 22.0.1229.7 (including) 22.0.1229.7 (including)
Chrome Google 22.0.1229.8 (including) 22.0.1229.8 (including)
Chrome Google 22.0.1229.9 (including) 22.0.1229.9 (including)
Chrome Google 22.0.1229.10 (including) 22.0.1229.10 (including)
Chrome Google 22.0.1229.11 (including) 22.0.1229.11 (including)
Chrome Google 22.0.1229.12 (including) 22.0.1229.12 (including)
Chrome Google 22.0.1229.14 (including) 22.0.1229.14 (including)
Chrome Google 22.0.1229.16 (including) 22.0.1229.16 (including)
Chrome Google 22.0.1229.17 (including) 22.0.1229.17 (including)
Chrome Google 22.0.1229.18 (including) 22.0.1229.18 (including)
Chrome Google 22.0.1229.20 (including) 22.0.1229.20 (including)
Chrome Google 22.0.1229.21 (including) 22.0.1229.21 (including)
Chrome Google 22.0.1229.22 (including) 22.0.1229.22 (including)
Chrome Google 22.0.1229.23 (including) 22.0.1229.23 (including)
Chrome Google 22.0.1229.24 (including) 22.0.1229.24 (including)
Chrome Google 22.0.1229.25 (including) 22.0.1229.25 (including)
Chrome Google 22.0.1229.26 (including) 22.0.1229.26 (including)
Chrome Google 22.0.1229.27 (including) 22.0.1229.27 (including)
Chrome Google 22.0.1229.28 (including) 22.0.1229.28 (including)
Chrome Google 22.0.1229.29 (including) 22.0.1229.29 (including)
Chrome Google 22.0.1229.31 (including) 22.0.1229.31 (including)
Chrome Google 22.0.1229.32 (including) 22.0.1229.32 (including)
Chrome Google 22.0.1229.33 (including) 22.0.1229.33 (including)
Chrome Google 22.0.1229.35 (including) 22.0.1229.35 (including)
Chrome Google 22.0.1229.36 (including) 22.0.1229.36 (including)
Chrome Google 22.0.1229.37 (including) 22.0.1229.37 (including)
Chrome Google 22.0.1229.39 (including) 22.0.1229.39 (including)
Chrome Google 22.0.1229.48 (including) 22.0.1229.48 (including)
Chrome Google 22.0.1229.49 (including) 22.0.1229.49 (including)
Chrome Google 22.0.1229.50 (including) 22.0.1229.50 (including)
Chrome Google 22.0.1229.51 (including) 22.0.1229.51 (including)
Chrome Google 22.0.1229.52 (including) 22.0.1229.52 (including)
Chrome Google 22.0.1229.53 (including) 22.0.1229.53 (including)
Chrome Google 22.0.1229.54 (including) 22.0.1229.54 (including)
Chrome Google 22.0.1229.55 (including) 22.0.1229.55 (including)
Chrome Google 22.0.1229.56 (including) 22.0.1229.56 (including)
Chrome Google 22.0.1229.57 (including) 22.0.1229.57 (including)
Chrome Google 22.0.1229.58 (including) 22.0.1229.58 (including)
Chrome Google 22.0.1229.59 (including) 22.0.1229.59 (including)
Chrome Google 22.0.1229.60 (including) 22.0.1229.60 (including)
Chrome Google 22.0.1229.62 (including) 22.0.1229.62 (including)
Chrome Google 22.0.1229.63 (including) 22.0.1229.63 (including)
Chrome Google 22.0.1229.64 (including) 22.0.1229.64 (including)
Chrome Google 22.0.1229.65 (including) 22.0.1229.65 (including)
Chrome Google 22.0.1229.67 (including) 22.0.1229.67 (including)
Chrome Google 22.0.1229.76 (including) 22.0.1229.76 (including)
Chrome Google 22.0.1229.78 (including) 22.0.1229.78 (including)
Chrome Google 22.0.1229.79 (including) 22.0.1229.79 (including)
Chrome Google 22.0.1229.89 (including) 22.0.1229.89 (including)
Chromium-browser Ubuntu lucid *
Chromium-browser Ubuntu natty *
Chromium-browser Ubuntu oneiric *
Chromium-browser Ubuntu precise *
Chromium-browser Ubuntu quantal *
Chromium-browser Ubuntu upstream *
Icu Ubuntu hardy *
Icu Ubuntu lucid *
Icu Ubuntu natty *
Icu Ubuntu oneiric *

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
  • To reduce the likelihood of introducing an out-of-bounds read, ensure that you validate and ensure correct calculations for any length argument, buffer size calculation, or offset. Be especially careful of relying on a sentinel (i.e. special character such as NUL) in untrusted inputs.

References