nodejs: CVE-2014-7192

Related Vulnerabilities: CVE-2014-7192  

Debian Bug report logs - #773623
nodejs: CVE-2014-7192

Reported by: Michael Gilbert <mgilbert@debian.org>

Date: Sun, 21 Dec 2014 03:09:02 UTC

Severity: serious

Tags: jessie-ignore, security, stretch-ignore

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package src:nodejs. (Sun, 21 Dec 2014 03:09:06 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Gilbert <mgilbert@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Sun, 21 Dec 2014 03:09:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Gilbert <mgilbert@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: nodejs: CVE-2014-7192
Date: Sat, 20 Dec 2014 22:07:24 -0500
package: src:nodejs
severity: important
tags: security

Hi,

the following vulnerability was published for nodejs.

CVE-2014-7192[0],[1]:
| Eval injection vulnerability in index.js in the syntax-error package
| before 1.1.1 for Node.js 0.10.x, as used in IBM Rational Application
| Developer and other products, allows remote attackers to execute
| arbitrary code via a crafted file.

The advisories seem to indicate that this is fixed in the development
version 0.11, but I haven't checked that.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2014-7192
[1] https://nodesecurity.io/advisories/syntax-error-potential-script-injection

Please adjust the affected versions in the BTS as needed.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package src:nodejs. (Sun, 21 Dec 2014 10:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jérémy Lal <kapouer@melix.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Sun, 21 Dec 2014 10:33:04 GMT) (full text, mbox, link).


Message #10 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Jérémy Lal <kapouer@melix.org>
To: Michael Gilbert <mgilbert@debian.org>, 773623@bugs.debian.org
Subject: Re: Bug#773623: nodejs: CVE-2014-7192
Date: Sun, 21 Dec 2014 11:31:35 +0100
Le samedi 20 décembre 2014 à 22:07 -0500, Michael Gilbert a écrit :
> package: src:nodejs
> CVE-2014-7192[0],[1]:
> | Eval injection vulnerability in index.js in the syntax-error package
> | before 1.1.1 for Node.js 0.10.x, as used in IBM Rational Application
> | Developer and other products, allows remote attackers to execute
> | arbitrary code via a crafted file.

This doesn't affect nodejs, but the "syntax-error" module, a dependency
of browserify - both not packaged in debian.

Cannot reassign, then. Maybe close ?

Jérémy.





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package src:nodejs. (Sun, 21 Dec 2014 17:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Gilbert <mgilbert@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Sun, 21 Dec 2014 17:48:04 GMT) (full text, mbox, link).


Message #15 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Michael Gilbert <mgilbert@debian.org>
To: 773623@bugs.debian.org
Subject: Re: Bug#773623: nodejs: CVE-2014-7192
Date: Sun, 21 Dec 2014 12:43:54 -0500
On Sun, Dec 21, 2014 at 5:31 AM, Jérémy Lal wrote:
> Le samedi 20 décembre 2014 à 22:07 -0500, Michael Gilbert a écrit :
>> package: src:nodejs
>> CVE-2014-7192[0],[1]:
>> | Eval injection vulnerability in index.js in the syntax-error package
>> | before 1.1.1 for Node.js 0.10.x, as used in IBM Rational Application
>> | Developer and other products, allows remote attackers to execute
>> | arbitrary code via a crafted file.
>
> This doesn't affect nodejs, but the "syntax-error" module, a dependency
> of browserify - both not packaged in debian.
>
> Cannot reassign, then. Maybe close ?

The advisories seem to indicate that the origin of the flaw lies
within nodejs, not the libraries using it.  That may be right or
wrong, but it should be checked.

Best wishes,
Mike



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package src:nodejs. (Sun, 21 Dec 2014 21:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jérémy Lal <kapouer@melix.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Sun, 21 Dec 2014 21:39:04 GMT) (full text, mbox, link).


Message #20 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Jérémy Lal <kapouer@melix.org>
To: Michael Gilbert <mgilbert@debian.org>, 773623@bugs.debian.org
Cc: "control@bugs.debian.org" <control@bugs.debian.org>
Subject: Re: Bug#773623: nodejs: CVE-2014-7192
Date: Sun, 21 Dec 2014 22:36:55 +0100
reassign 773623 libv8-3.14
thanks

Le dimanche 21 décembre 2014 à 12:43 -0500, Michael Gilbert a écrit :
> On Sun, Dec 21, 2014 at 5:31 AM, Jérémy Lal wrote:
> > Le samedi 20 décembre 2014 à 22:07 -0500, Michael Gilbert a écrit :
> >> package: src:nodejs
> >> CVE-2014-7192[0],[1]:
> >> | Eval injection vulnerability in index.js in the syntax-error package
> >> | before 1.1.1 for Node.js 0.10.x, as used in IBM Rational Application
> >> | Developer and other products, allows remote attackers to execute
> >> | arbitrary code via a crafted file.
> >
> > This doesn't affect nodejs, but the "syntax-error" module, a dependency
> > of browserify - both not packaged in debian.
> >
> > Cannot reassign, then. Maybe close ?
> 
> The advisories seem to indicate that the origin of the flaw lies
> within nodejs, not the libraries using it.  That may be right or
> wrong, but it should be checked.

Right, two hours of skimming through v8 issues later, here is a proper
report of the issue with a link to the patch fixing it.

https://code.google.com/p/v8/issues/detail?id=2470

I confirm the issue is real, reproducible in v8-3.14, and serious (since
it is so easy to reproduce).

Side note: any javascript code using "eval" directly, or indirectly
through Function(str), in nodejs, in browser, whereever, will have
security issues today or tomorrow... there are several developers still
using eval for checking syntax errors and it is wrong.

Jérémy.





Bug reassigned from package 'src:nodejs' to 'libv8-3.14'. Request was from Jérémy Lal <kapouer@melix.org> to control@bugs.debian.org. (Sun, 21 Dec 2014 21:39:07 GMT) (full text, mbox, link).


Severity set to 'grave' from 'important' Request was from Michael Gilbert <mgilbert@debian.org> to control@bugs.debian.org. (Sun, 21 Dec 2014 22:12:04 GMT) (full text, mbox, link).


Severity set to 'normal' from 'grave' Request was from Michael Gilbert <mgilbert@debian.org> to control@bugs.debian.org. (Fri, 13 Feb 2015 21:39:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package libv8-3.14. (Tue, 28 Feb 2017 12:33:07 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Tue, 28 Feb 2017 12:33:07 GMT) (full text, mbox, link).


Message #31 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: 760385@bugs.debian.org, 773623@bugs.debian.org, 773671@bugs.debian.org
Subject: Unfixed old CVEs should really be RC
Date: Tue, 28 Feb 2017 14:28:28 +0200
Control: severity -1 serious

Dozens of unfixed CVEs, the oldest unfixed CVEs will be more than
4 years old when stretch gets released.

In the current state the package is really too buggy for shipping
in a new stable release.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Severity set to 'serious' from 'normal' Request was from Adrian Bunk <bunk@debian.org> to 773623-submit@bugs.debian.org. (Tue, 28 Feb 2017 12:33:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package libv8-3.14. (Mon, 03 Apr 2017 18:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Moritz Muehlenhoff <jmm@inutil.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Mon, 03 Apr 2017 18:06:05 GMT) (full text, mbox, link).


Message #38 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Moritz Muehlenhoff <jmm@inutil.org>
To: Adrian Bunk <bunk@debian.org>
Cc: 760385@bugs.debian.org, 773623@bugs.debian.org, 773671@bugs.debian.org
Subject: Re: Unfixed old CVEs should really be RC
Date: Mon, 3 Apr 2017 20:03:16 +0200
On Tue, Feb 28, 2017 at 02:28:28PM +0200, Adrian Bunk wrote:
> Control: severity -1 serious
> 
> Dozens of unfixed CVEs, the oldest unfixed CVEs will be more than
> 4 years old when stretch gets released.
> 
> In the current state the package is really too buggy for shipping
> in a new stable release.

Note that nodejs will not be covered by security support in stretch (as it was
done for jessie already). We had initially considered it, but with
nodejs 6 not having it made into stretch, that's not realistic.

So these can be downgraded to non-RC (or if the release team thinks
nodejs should rather be remove from testing, removal is also an option
of course).

Cheers,
        Moritz



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package libv8-3.14. (Mon, 03 Apr 2017 18:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Adrian Bunk <bunk@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Mon, 03 Apr 2017 18:18:04 GMT) (full text, mbox, link).


Message #43 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Adrian Bunk <bunk@debian.org>
To: Moritz Muehlenhoff <jmm@inutil.org>
Cc: 760385@bugs.debian.org, 773623@bugs.debian.org, 773671@bugs.debian.org
Subject: Re: Unfixed old CVEs should really be RC
Date: Mon, 3 Apr 2017 21:13:56 +0300
On Mon, Apr 03, 2017 at 08:03:16PM +0200, Moritz Muehlenhoff wrote:
> On Tue, Feb 28, 2017 at 02:28:28PM +0200, Adrian Bunk wrote:
> > Control: severity -1 serious
> > 
> > Dozens of unfixed CVEs, the oldest unfixed CVEs will be more than
> > 4 years old when stretch gets released.
> > 
> > In the current state the package is really too buggy for shipping
> > in a new stable release.
> 
> Note that nodejs will not be covered by security support in stretch (as it was
> done for jessie already). We had initially considered it, but with
> nodejs 6 not having it made into stretch, that's not realistic.
> 
> So these can be downgraded to non-RC (or if the release team thinks
> nodejs should rather be remove from testing, removal is also an option
> of course).

This is not even the normal Node.js, this is a version of V8 from an 
upstream branch that is dead for 4 years already.

> Cheers,
>         Moritz

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package libv8-3.14. (Mon, 03 Apr 2017 19:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Moritz Muehlenhoff <jmm@inutil.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Mon, 03 Apr 2017 19:03:07 GMT) (full text, mbox, link).


Message #48 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Moritz Muehlenhoff <jmm@inutil.org>
To: Adrian Bunk <bunk@debian.org>
Cc: 760385@bugs.debian.org, 773623@bugs.debian.org, 773671@bugs.debian.org
Subject: Re: Unfixed old CVEs should really be RC
Date: Mon, 3 Apr 2017 21:01:34 +0200
On Mon, Apr 03, 2017 at 09:13:56PM +0300, Adrian Bunk wrote:
> On Mon, Apr 03, 2017 at 08:03:16PM +0200, Moritz Muehlenhoff wrote:
> > On Tue, Feb 28, 2017 at 02:28:28PM +0200, Adrian Bunk wrote:
> > > Control: severity -1 serious
> > > 
> > > Dozens of unfixed CVEs, the oldest unfixed CVEs will be more than
> > > 4 years old when stretch gets released.
> > > 
> > > In the current state the package is really too buggy for shipping
> > > in a new stable release.
> > 
> > Note that nodejs will not be covered by security support in stretch (as it was
> > done for jessie already). We had initially considered it, but with
> > nodejs 6 not having it made into stretch, that's not realistic.
> > 
> > So these can be downgraded to non-RC (or if the release team thinks
> > nodejs should rather be remove from testing, removal is also an option
> > of course).
> 
> This is not even the normal Node.js, this is a version of V8 from an 
> upstream branch that is dead for 4 years already.

Right. Initially there was some plan to provide a supported libv8
from src:nodejs, though.

libv8 has never been covered by security support in any Debian release
so far, upstream does no real security support apart from what lands
in Chrome.

Cheers,
        Moritz



Added tag(s) stretch-ignore. Request was from Niels Thykier <niels@thykier.net> to control@bugs.debian.org. (Wed, 05 Apr 2017 07:09:08 GMT) (full text, mbox, link).


Added tag(s) jessie-ignore. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Wed, 19 Apr 2017 09:57:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package libv8-3.14. (Fri, 18 Jan 2019 10:39:07 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Tille <andreas@an3as.eu>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Fri, 18 Jan 2019 10:39:07 GMT) (full text, mbox, link).


Message #57 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Andreas Tille <andreas@an3as.eu>
To: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Jérémy Lal <kapouer@melix.org>, Jonas Smedegaard <dr@jones.dk>, Balint Reczey <balint@balintreczey.hu>
Cc: 853512@bugs.debian.org, 760385@bugs.debian.org, 773623@bugs.debian.org, 773671@bugs.debian.org
Subject: Status of libv8?
Date: Fri, 18 Jan 2019 11:37:30 +0100
Hi,

I just realised that one of my packages does not migrate to testing due
to its dependency from r-cran-v8 and in turn from libv8-devel.  I
realised that while libv8 has 3 security bugs which are set to
stretch-ignore (#760385, #773623, #773671 - should this somehow also be
set to buster-ignore??? - I had no idea that we ignore CVEs at all but
anyway) it probably can not migrate to testing since it does not even
build:

   #853512 libv8-3.14: ftbfs with GCC-7

This bug is RC since 6 months but there is no response from any
uploader.  So I tried to clone the repository from Salsa and realised
that there is none at the place I would have expected
(https://salsa.debian.org/js-team/libv8).  Is there any other place
(besides digging into Alioth archives where I could find the
repository?)  I admit I'm not motivated to find out how to restore
old repositories but would rather use

   gbp import-dscs --ignore-repo-config --debsnap --pristine-tar libv8

instead.  Any information about the status of this package would be
really welcome.

However, when reading

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773671#59

it might rather the best idea to remove this lib from Debian at all and
I need to see how I can avoid depending from this package.

Kind regards

       Andreas.

PS: Please CC me.  I'm not subscribed to this list.

-- 
http://fam-tille.de



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package libv8-3.14. (Fri, 18 Jan 2019 10:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Jérémy Lal <kapouer@melix.org>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Fri, 18 Jan 2019 10:57:06 GMT) (full text, mbox, link).


Message #62 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Jérémy Lal <kapouer@melix.org>
To: Andreas Tille <andreas@an3as.eu>
Cc: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Jonas Smedegaard <dr@jones.dk>, Balint Reczey <balint@balintreczey.hu>, 853512@bugs.debian.org, 760385@bugs.debian.org, 773623@bugs.debian.org, 773671@bugs.debian.org
Subject: Re: Status of libv8?
Date: Fri, 18 Jan 2019 11:51:38 +0100
[Message part 1 (text/plain, inline)]
Le ven. 18 janv. 2019 à 11:37, Andreas Tille <andreas@an3as.eu> a écrit :

> Hi,
>
> I just realised that one of my packages does not migrate to testing due
> to its dependency from r-cran-v8 and in turn from libv8-devel.  I
> realised that while libv8 has 3 security bugs which are set to
> stretch-ignore (#760385, #773623, #773671 - should this somehow also be
> set to buster-ignore??? - I had no idea that we ignore CVEs at all but
> anyway) it probably can not migrate to testing since it does not even
> build:
>
>    #853512 libv8-3.14: ftbfs with GCC-7
>
> This bug is RC since 6 months but there is no response from any
> uploader.  So I tried to clone the repository from Salsa and realised
> that there is none at the place I would have expected
> (https://salsa.debian.org/js-team/libv8).  Is there any other place
> (besides digging into Alioth archives where I could find the
> repository?)  I admit I'm not motivated to find out how to restore
> old repositories but would rather use
>
>    gbp import-dscs --ignore-repo-config --debsnap --pristine-tar libv8
>
> instead.  Any information about the status of this package would be
> really welcome.
>
> However, when reading
>
>    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773671#59
>
> it might rather the best idea to remove this lib from Debian at all and
> I need to see how I can avoid depending from this package.
>

Indeed, i am sorry for this bad state of things; i thought i could handle
it,
but obviously i couldn't.

Possible solutions (besides not using it at all):
- bundle it - nodejs bundles it
- change nodejs to build its v8 as a shared lib, and provide it
it makes sense because upstream nodejs do all the work of keeping ABI
stability,
backporting security fixes, choosing the right version, and so on.
- take over maintenance and distribute it independently of nodejs

Jérémy
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>:
Bug#773623; Package libv8-3.14. (Fri, 18 Jan 2019 12:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Tille <andreas@an3as.eu>:
Extra info received and forwarded to list. Copy sent to Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>. (Fri, 18 Jan 2019 12:09:05 GMT) (full text, mbox, link).


Message #67 received at 773623@bugs.debian.org (full text, mbox, reply):

From: Andreas Tille <andreas@an3as.eu>
To: Jérémy Lal <kapouer@melix.org>
Cc: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>, Jonas Smedegaard <dr@jones.dk>, Balint Reczey <balint@balintreczey.hu>, 853512@bugs.debian.org, 760385@bugs.debian.org, 773623@bugs.debian.org, 773671@bugs.debian.org
Subject: Re: Status of libv8?
Date: Fri, 18 Jan 2019 13:04:30 +0100
Hi Jérémy,

On Fri, Jan 18, 2019 at 11:51:38AM +0100, Jérémy Lal wrote:
> > However, when reading
> >
> >    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773671#59
> >
> > it might rather the best idea to remove this lib from Debian at all and
> > I need to see how I can avoid depending from this package.
> 
> Indeed, i am sorry for this bad state of things; i thought i could handle
> it,
> but obviously i couldn't.
> 
> Possible solutions (besides not using it at all):
> - bundle it - nodejs bundles it
> - change nodejs to build its v8 as a shared lib, and provide it
> it makes sense because upstream nodejs do all the work of keeping ABI
> stability,
> backporting security fixes, choosing the right version, and so on.
> - take over maintenance and distribute it independently of nodejs

This sounds like a pretty sensible solution.  I see you and Jonas are
also uploaders for nodejs.  It would be really great if you could do
this.

Kind regards

       Andreas.

-- 
http://fam-tille.de



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 19 13:41:51 2019; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.