You are here
Home > Preporuke > Ranjivost programskog paketa v8

Ranjivost programskog paketa v8

  • Detalji os-a: FED
  • Važnost: IMP
  • Operativni sustavi: L
  • Kategorije: LFE

Fedora Update Notification
2014-08-01 23:16:18

Name : v8
Product : Fedora 20
Version :
Release : 11.fc20
Summary : JavaScript Engine
Description :
V8 is Google’s open source JavaScript engine. V8 is written in C++ and is used
in Google Chrome, the open source browser from Google. V8 implements ECMAScript
as specified in ECMA-262, 3rd edition.

Update Information:

TJ Fontaine of the Node.js project reports:

A memory corruption vulnerability, which results in a
denial-of-service, was identified in the versions of V8 that ship with
Node.js 0.8 and 0.10. In certain circumstances, a particularly deep
recursive workload that may trigger a GC and receive an interrupt may
overflow the stack and result in a segmentation fault. For instance,
if your work load involves successive `JSON.parse` calls and the
parsed objects are significantly deep, you may experience the process
aborting while parsing.

This issue was identified by Tom Steele of [^Lift
Security]( and Fedor Indunty, Node.js Core
Team member worked closely with the V8 team to find our resolution.

The V8 issue is described here

It has landed in the Node repository here:

And has been released in the following versions:

* [v0.10.30](
* [v0.8.28](

### The Fix

[Applied in this update.]

### Remediation

The best course of action is to patch or upgrade Node.js.

### Mitigation

To mitigate against deep JSON parsing you can limit the size of the
string you parse against, or ban clients who trigger a `RangeError`
for parsing JSON.

There is no specific maximum size of a JSON string, though keeping the
max to the size of your known message bodies is suggested. If your
message bodies cannot be over 20K, there’s no reason to accept 1MB

For web frameworks that do automatic JSON parsing, you may need to
configure the routes that accept JSON payloads to have a maximum body

* [expressjs]( and
[krakenjs]( used with the
plugin accepts a `limit` parameter in your JSON config
* [Hapi.js]( has `payload.maxBytes`
* [restify]( bundled
`bodyParser` accepts a `maxBodySize`


* Thu Jul 31 2014 T.C. Hollingsworth <> – 1:
– backport security fix for memory corruption and stack overflow (RHBZ#1125464)
– backport bug fix for x64 MathMinMax for negative untagged int32 arguments.
* Thu Jun 19 2014 T.C. Hollingsworth <> – 1:
– fix corner case in integer comparisons (v8 bug#2416; nodejs bug#7528)
* Sun Jun 8 2014 Fedora Release Engineering <> – 1:
– Rebuilt for
* Sat May 3 2014 T.C. Hollingsworth <> – 1:
– use clock_gettime() instead of gettimeofday(), which increases V8 performance
dramatically on virtual machines
* Tue Mar 18 2014 T.C. Hollingsworth <> – 1:
– backport fix for unsigned integer arithmetic (RHBZ#1077136; CVE-2014-1704)
* Mon Feb 24 2014 Tomas Hrcka <> – 1:
– Backport fix for incorrect handling of popular pages (RHBZ#1059070; CVE-2013-6640)
* Fri Feb 14 2014 T.C. Hollingsworth <> – 1:
– rebuild for icu-52
* Mon Jan 27 2014 T.C. Hollingsworth <> – 1:
– backport fix for enumeration for objects with lots of properties
* Fri Dec 13 2013 T.C. Hollingsworth <> – 1:
– backport fix for out-of-bounds read DoS (RHBZ#1039889; CVE-2013-6640)

[ 1 ] Bug #1125464 – V8 Memory Corruption and Stack Overflow

This update can be installed with the “yum” update program. Use
su -c ‘yum update v8’ at the command line.
For more information, refer to “Managing Software with yum”,
available at

All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
package-announce mailing list

AutorTomislav Protega
Cert idNCERT-REF-2014-08-0025-ADV
CveCVE-2014-1704 CVE-2013-6640
ID izvornikaFEDORA-2014-9095
More in Preporuke
Ranjivost programskog paketa pixman

Otkrivena je ranjivost cjelobrojnog podljeva kod programskog paketa pixman uzrokovana neodgovarajućim upravljanjem trapezoidima. Uspješno iskorištavanje ranjivosti može rezultirati rušenjem aplikacije...