Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] HarfBuzz CVE-2023-25193 when referencing SkiaSharp.NativeAssets.Linux.NoDependencies #2576

Closed
1 task done
wss-jtreher opened this issue Aug 22, 2023 · 0 comments · Fixed by #2577 or #2582
Closed
1 task done
Labels
Milestone

Comments

@wss-jtreher
Copy link

wss-jtreher commented Aug 22, 2023

Description

I believe HarfBuzzSharp has a dependency on HarfBuzz looking at some of HarfBuzzApi P/Invoking. We were going to use SkiaSharp on one of our projects, but the OWASP Dependency Checker complained about https://nvd.nist.gov/vuln/detail/CVE-2023-25193.

Code

In your csproj file include: <PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.3" />

Expected Behavior

Dependency Check doesn't fail due to CVE.

Actual Behavior

No response

Version of SkiaSharp

2.88.3 (Current)

Last Known Good Version of SkiaSharp

2.88.2 (Previous)

IDE / Editor

Visual Studio (Windows)

Platform / Operating System

Linux

Platform / Operating System Version

No response

Devices

No response

Relevant Screenshots

No response

Relevant Log Output

<testsuite failures="1" errors="0" time="0" id="17"
    name="/source/Something.PdfGenerator/Something.PdfGenerator.csproj"
    package="HarfBuzzSharp.NativeAssets.Linux:2.8.2.3" skipped="0" tests="1"
    timestamp="2023-08-21T11:07:37.227094519">
    <testcase classname="CVE-2023-25193" name="pkg:nuget/HarfBuzzSharp.NativeAssets.Linux@2.8.2.3">
      <failure message="cvssV3: HIGH, score: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)" />
      <system-out>hb-ot-layout-gsubgpos.hh in HarfBuzz through 6.0.0 allows attackers to trigger
        O(n^2) growth via consecutive marks during the process of looking back for base glyphs when
        attaching marks.</system-out>
      <system-err>location: /source/Something.PdfGenerator/Something.PdfGenerator.csproj,
        project-references: [ ]</system-err>
    </testcase>
  </testsuite>

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mattleibow mattleibow added this to the v2.88.6 milestone Aug 22, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants