graylog-docker icon indicating copy to clipboard operation
graylog-docker copied to clipboard

Image vulnerablities

Open jin-ahn opened this issue 3 years ago • 18 comments

The latest (4.3.9) docker image of graylog has 6 critical and 73 high vulnerabilities related to apache, minidev, fasterxml, netty, etc. Can we get these patched?

image

jin-ahn avatar Nov 02 '22 20:11 jin-ahn

4.3.9 is also running an older version of openssl (3.0.2) affected by the recent advisory

justingood avatar Nov 03 '22 16:11 justingood

4.3.9 is also running an older version of openssl (3.0.2) affected by the recent advisory

The 4.3.9 images have packages openssl and libssl3 @ 3.0.2-0ubuntu1.7, which has the fix.

  • https://ubuntu.com/security/CVE-2022-3602
  • https://launchpad.net/ubuntu/+source/openssl/3.0.2-0ubuntu1.7
  • https://changelogs.ubuntu.com/changelogs/pool/main/o/openssl/openssl_3.0.2-0ubuntu1.7/changelog

coffee-squirrel avatar Nov 03 '22 16:11 coffee-squirrel

@coffee-squirrel are there plans to patch the other vulnerabilites i have shown?

jin-ahn avatar Nov 03 '22 22:11 jin-ahn

@jin-ahn I'm not with Graylog, so I don't know.

It seems most/all of those are related to "Graylog the Java app" versus the container image, so you might get more traction by following the process mentioned at https://github.com/Graylog2/graylog2-server/blob/master/SECURITY.md.

coffee-squirrel avatar Nov 04 '22 00:11 coffee-squirrel

Hi!

Sorry for the delay: The critical shiro-related issues don't apply to Graylog, but we will still look at updating the library. The quartz one also doesn't apply, while it is shipped through another dependency, Graylog doesn't use the scheduling functions the vulnerability is about.

For Graylog 5.0 (in beta right now) we are updating Jackson and Netty, which should address those issues. Unfortunately, those are quite involved to backport, so we will most likely not bump the version in 4.3. Furthermore, Graylog doesn't use snappy in any user-facing form, so the vulnerability also doesn't apply.

I'll leave this open until we are closing some internal issues that are pointing here. Thanks!

kroepke avatar Nov 07 '22 10:11 kroepke

Hi, just thought I'd give an update. I've checked the latest 5.0 rc2 image for vulnerabilities. and although there is an improvement the critical ones still remain. I understand that they don't necessarily apply to graylog, but if it's a low-hanging fruit, it would be great for our usage to have the libraries updated.

image

jin-ahn avatar Nov 29 '22 20:11 jin-ahn

Hi @kroepke, just to confirm - are their still plans to patch the remaining vulnerabilites? Or are we leaving them alone?

image

jin-ahn avatar Jan 05 '23 23:01 jin-ahn

Most recent update of 5.0.3 is vastly improved. Just 1 critical vulnerability remaining. Need to update json-smart to 2.4.1

image

jin-ahn avatar Feb 07 '23 14:02 jin-ahn

New vulnerablities have come out that impact graylog image. I know the shiro-core doesn't apply but there are others image

jin-ahn avatar Mar 07 '23 23:03 jin-ahn

Hi, I notice there are updates to fix the vulnerablities, can someone also build a image and push to hub? Thanks. image

Jeffrey778 avatar Apr 13 '23 06:04 Jeffrey778

@Jeffrey778 The fixed will be part of the next stable release (5.0.7) that ships beginning of May.

UPDATE: We will only backport fixes for security issues that affect Graylog.

bernd avatar Apr 13 '23 07:04 bernd

Hi. 5.0.6 also has new vulnerablities related to org.quartz-scheduler and org.yaml:snakeyaml

https://nvd.nist.gov/vuln/detail/CVE-2019-13990

https://nvd.nist.gov/vuln/detail/CVE-2022-1471

image

jin-ahn avatar Apr 20 '23 20:04 jin-ahn

5.0.7 has 6 critical and 11 high vulnerabilities image

jin-ahn avatar May 16 '23 23:05 jin-ahn

5.1.0 has vulnerabilites that are high and critical image

jin-ahn avatar May 17 '23 19:05 jin-ahn

@bernd could you comment on whether or not there are plans to patch these?

jin-ahn avatar May 17 '23 19:05 jin-ahn

5.1.1 still has same vulnerabilities. @bernd image

jin-ahn avatar May 31 '23 21:05 jin-ahn

5.1.2 has more vulnerabilities image

jin-ahn avatar Aug 29 '23 20:08 jin-ahn

5.2.0 Vulnerabilities image

jin-ahn avatar Nov 01 '23 06:11 jin-ahn