Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH][dunfell][gatesgarth][master] cairo: whitelist CVE-2013-0800
@ 2021-01-15 10:47 Mikko Rapeli
  2021-01-15 11:23 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Mikko Rapeli @ 2021-01-15 10:47 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mikko Rapeli

It affects only cairo embedded into Firefox.

https://security-tracker.debian.org/tracker/CVE-2013-0800

"The description is misleading: Firefox embeds a copy of Cairo, the interdiff
shows the respective change at mozilla-esr17/gfx/cairo/cairo/src/cairo-image-surface.c
Apparently the forked copy has changed, the code isn't present in vanilla Cairo"

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
---
 meta/recipes-graphics/cairo/cairo_1.16.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-graphics/cairo/cairo_1.16.0.bb b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
index 8663dec404..29088ab0d6 100644
--- a/meta/recipes-graphics/cairo/cairo_1.16.0.bb
+++ b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
@@ -29,6 +29,9 @@ SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz \
            file://CVE-2019-6462.patch \
           "
 
+# Affects only embedded cairo in Firefox
+CVE_CHECK_WHITELIST += "CVE-2013-0800"
+
 SRC_URI[md5sum] = "f19e0353828269c22bd72e271243a552"
 SRC_URI[sha256sum] = "5e7b29b3f113ef870d1e3ecf8adf21f923396401604bda16d44be45e66052331"
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH][dunfell][gatesgarth][master] cairo: whitelist CVE-2013-0800
  2021-01-15 10:47 [PATCH][dunfell][gatesgarth][master] cairo: whitelist CVE-2013-0800 Mikko Rapeli
@ 2021-01-15 11:23 ` Richard Purdie
  2021-01-15 11:46   ` Mikko Rapeli
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2021-01-15 11:23 UTC (permalink / raw)
  To: Mikko Rapeli, openembedded-core

On Fri, 2021-01-15 at 12:47 +0200, Mikko Rapeli wrote:
> It affects only cairo embedded into Firefox.
> 
> https://security-tracker.debian.org/tracker/CVE-2013-0800
> 
> "The description is misleading: Firefox embeds a copy of Cairo, the interdiff
> shows the respective change at mozilla-esr17/gfx/cairo/cairo/src/cairo-image-surface.c
> Apparently the forked copy has changed, the code isn't present in vanilla Cairo"
> 
> Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
> ---
>  meta/recipes-graphics/cairo/cairo_1.16.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta/recipes-graphics/cairo/cairo_1.16.0.bb b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> index 8663dec404..29088ab0d6 100644
> --- a/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> +++ b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> @@ -29,6 +29,9 @@ SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz \
>             file://CVE-2019-6462.patch \
>            "
>  
> 
> 
> 
> +# Affects only embedded cairo in Firefox
> +CVE_CHECK_WHITELIST += "CVE-2013-0800"
> +

That sounds a lot like we should send a CPE change upstream to classify
it as firefox rather than cairo?

Cheers,

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH][dunfell][gatesgarth][master] cairo: whitelist CVE-2013-0800
  2021-01-15 11:23 ` [OE-core] " Richard Purdie
@ 2021-01-15 11:46   ` Mikko Rapeli
  2021-01-15 11:50     ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Mikko Rapeli @ 2021-01-15 11:46 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core

On Fri, Jan 15, 2021 at 11:23:39AM +0000, Richard Purdie wrote:
> On Fri, 2021-01-15 at 12:47 +0200, Mikko Rapeli wrote:
> > It affects only cairo embedded into Firefox.
> > 
> > https://security-tracker.debian.org/tracker/CVE-2013-0800
> > 
> > "The description is misleading: Firefox embeds a copy of Cairo, the interdiff
> > shows the respective change at mozilla-esr17/gfx/cairo/cairo/src/cairo-image-surface.c
> > Apparently the forked copy has changed, the code isn't present in vanilla Cairo"
> > 
> > Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
> > ---
> >  meta/recipes-graphics/cairo/cairo_1.16.0.bb | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/meta/recipes-graphics/cairo/cairo_1.16.0.bb b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> > index 8663dec404..29088ab0d6 100644
> > --- a/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> > +++ b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> > @@ -29,6 +29,9 @@ SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz \
> >             file://CVE-2019-6462.patch \
> >            "
> >  
> > 
> > 
> > 
> > +# Affects only embedded cairo in Firefox
> > +CVE_CHECK_WHITELIST += "CVE-2013-0800"
> > +
> 
> That sounds a lot like we should send a CPE change upstream to classify
> it as firefox rather than cairo?

Ok, I sent an email to cpe_dictionary@nist.gov for removal of
"cpe:2.3:a:cairographics:cairo:-:*:*:*:*:*:*:*" from CVE-2013-0800 data citing
the Debian details.

I hope this was the correct way to do this.

Cheers,

-Mikko

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH][dunfell][gatesgarth][master] cairo: whitelist CVE-2013-0800
  2021-01-15 11:46   ` Mikko Rapeli
@ 2021-01-15 11:50     ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2021-01-15 11:50 UTC (permalink / raw)
  To: Mikko.Rapeli; +Cc: openembedded-core

On Fri, 2021-01-15 at 11:46 +0000, Mikko.Rapeli@bmw.de wrote:
> On Fri, Jan 15, 2021 at 11:23:39AM +0000, Richard Purdie wrote:
> > On Fri, 2021-01-15 at 12:47 +0200, Mikko Rapeli wrote:
> > > It affects only cairo embedded into Firefox.
> > > 
> > > https://security-tracker.debian.org/tracker/CVE-2013-0800
> > > 
> > > "The description is misleading: Firefox embeds a copy of Cairo, the interdiff
> > > shows the respective change at mozilla-esr17/gfx/cairo/cairo/src/cairo-image-surface.c
> > > Apparently the forked copy has changed, the code isn't present in vanilla Cairo"
> > > 
> > > Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
> > > ---
> > >  meta/recipes-graphics/cairo/cairo_1.16.0.bb | 3 +++
> > >  1 file changed, 3 insertions(+)
> > > 
> > > diff --git a/meta/recipes-graphics/cairo/cairo_1.16.0.bb b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> > > index 8663dec404..29088ab0d6 100644
> > > --- a/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> > > +++ b/meta/recipes-graphics/cairo/cairo_1.16.0.bb
> > > @@ -29,6 +29,9 @@ SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz \
> > >             file://CVE-2019-6462.patch \
> > >            "
> > >  
> > > 
> > > 
> > > 
> > > +# Affects only embedded cairo in Firefox
> > > +CVE_CHECK_WHITELIST += "CVE-2013-0800"
> > > +
> > 
> > That sounds a lot like we should send a CPE change upstream to classify
> > it as firefox rather than cairo?
> 
> Ok, I sent an email to cpe_dictionary@nist.gov for removal of
> "cpe:2.3:a:cairographics:cairo:-:*:*:*:*:*:*:*" from CVE-2013-0800 data citing
> the Debian details.
> 
> I hope this was the correct way to do this.

Sounds good to me, thanks!

Cheers,

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-15 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-15 10:47 [PATCH][dunfell][gatesgarth][master] cairo: whitelist CVE-2013-0800 Mikko Rapeli
2021-01-15 11:23 ` [OE-core] " Richard Purdie
2021-01-15 11:46   ` Mikko Rapeli
2021-01-15 11:50     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox