Skip to content

[Bug, Vulnerability] CVE-2023-48795 #11936

Closed

Description

@VladislavDubrovenski

Search before asking

  • I had searched in the issues and found no similar issues.

Apache SkyWalking Component

OAP server (apache/skywalking)

What happened

Good day,

The scanner flags CVE-2023-48795 in OAP and UI that I am required to fix to continue using this great project..

The skywalking is deployed using a helm chart.

More information:
OAP:

  • fixedVersion: 0.17.0
    installedVersion: v0.0.0-20220411220226-7b82a4e95df4
    lastModifiedDate: "2024-01-29T09:15:42Z"
    links: []
    primaryLink: https://avd.aquasec.com/nvd/cve-2023-48795
    publishedDate: "2023-12-18T16:15:10Z"
    resource: golang.org/x/crypto
    score: 5.9
    severity: MEDIUM
    target: ""
    title: 'ssh: Prefix truncation attack on Binary Packet Protocol (BPP)'
    vulnerabilityID: CVE-2023-48795

UI:

  • fixedVersion: 0.9.6-2ubuntu0.22.04.2
    installedVersion: 0.9.6-2ubuntu0.22.04.1
    lastModifiedDate: "2024-01-29T09:15:42Z"
    links: []
    primaryLink: https://avd.aquasec.com/nvd/cve-2023-48795
    publishedDate: "2023-12-18T16:15:10Z"
    resource: libssh-4
    score: 5.9
    severity: MEDIUM
    target: ""
    title: 'ssh: Prefix truncation attack on Binary Packet Protocol (BPP)'
    vulnerabilityID: CVE-2023-4879

What you expected to happen

No vulnerability found

How to reproduce

Install skywalking via helm chart

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Activity

  1. added
    bug
    on Feb 26, 2024
  2. wu-sheng commented on Feb 26, 2024

    @wu-sheng
    Member

    We are not using Go and Python in OAP. I am not sure what you mean. This is a Java project.

  3. VladislavDubrovenski commented on Feb 26, 2024

    @VladislavDubrovenski
    Author

    @wu-sheng I understand that, I opened it for OAP. Also, it occurs to me that the image you use for deployment on k8s for UI has the vulnerability. Where should I report this? This vulnerability was present for almost 2 months and my only other remediation is to disable the skywalking which I really don't want to do as I have written custom scripts for it as well..

  4. wu-sheng commented on Feb 26, 2024

    @wu-sheng
    Member

    OK, if you mean images, you need to check whether it is from swctl or something? Because OAP and UI themselves are only Java based.

    You could check the docker file, https://github.com/apache/skywalking/blob/master/docker/oap/Dockerfile

    About the CLI, it is from https://github.com/apache/skywalking-cli.

  5. added
    docker
    dependencies
    on Feb 26, 2024
  6. wu-sheng commented on Feb 26, 2024

    @wu-sheng
    Member

    Or is this a Linux level CVE? You could repackage the whole thing and get the latest eclipse-temurin:11-jre.

  7. VladislavDubrovenski commented on Feb 26, 2024

    @VladislavDubrovenski
    Author

    @wu-sheng I appreciate you reopening this issue. Constantly repackaging every open-source solution would make it a nightmare from maintainability perspective. It seems that many open-source solutions suffer from this vulnerability(even though the library in question was not in use in many, but scans still flag it).

    I have several examples where it was already fixed:

    Jaeger: jaegertracing/jaeger#5016
    Grafana: grafana/grafana#80316
    ArgoCD: argoproj/argo-cd#17020
    Prometheus: prometheus/prometheus#13512
    And others

    I understand that this causes certain inconveniences, and I apologize for that, but I had been required to address this particular vulnerability in the past month.

  8. wu-sheng commented on Feb 26, 2024

    @wu-sheng
    Member

    @kezhenxu94 Could you take a look? I think this may be either from base image or a kind of CLI side issues.

  9. wu-sheng commented on Feb 27, 2024

    @wu-sheng
    Member
  10. added this to the 10.0.0 milestone on Feb 27, 2024
  11. kezhenxu94 commented on Feb 27, 2024

    @kezhenxu94
    Member

    If the UI also has the CVE, then swctl might not be the only source of the CVE, as UI doesn't have swctl in it

  12. wu-sheng commented on Feb 27, 2024

    @wu-sheng
    Member

    Yes, I noticed that. I am not sure why UI could have this, maybe it is from default base Linux image? CLI has the version impact but maybe not the only source.

  13. heyanlong commented on Feb 27, 2024

    @heyanlong
    Member

    I see eclipse-temurin:11-jre is built based on ubuntu:22.04, using OpenSSH 8.9 as default ssh in ubuntu:22.04

  14. wu-sheng commented on Mar 4, 2024

    @wu-sheng
    Member

    AFAIK, 11-jre image should be safe enough. https://hub.docker.com/layers/library/eclipse-temurin/11-jre/images/sha256-2a0e7b00897263d43b65f33962ca1299e6ce91a16c3dd09fbceff114d4c8c34a?context=explore

    No high and critical issues. Our own side CLI has been removed from the next release.

    We should be good now.

  15. VladislavDubrovenski commented on Mar 4, 2024

    @VladislavDubrovenski
    Author

    Thank you for the quick remediation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdependenciesdocker

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions