librdkafka icon indicating copy to clipboard operation
librdkafka copied to clipboard

OpenSSL 3.0.8 in latest Nuget release

Open davmas30cent opened this issue 1 year ago • 5 comments

Description

The Nuget packet still uses the 3.0.8 version of OpenSSL even though an upgrade to 3.0.12 was done in version 2.4.0 of librdkafka. Vulnerability scanners then report vulnerabilities, such as CVE-2023-5363.

How to reproduce

dotnet new console dotnet add package librdkafka.redist --version 2.5.0 dotnet build

Vulnerable versions are in the following directories (libcrypto.dll and libssl-3.dll):

  • bin/Debug/net8.0/librdkafka\x64
  • bin/Debug/net8.0/librdkafka\x86
  • bin/Debug/net8.0/runtimes\win-x64\native
  • bin/Debug/net8.0/runtimes\win-x86\native

Checklist

  • [x] librdkafka version (release number or git tag): v2.5.0
  • [x] Operating system: Windows 10

davmas30cent avatar Jul 18 '24 14:07 davmas30cent

That's only for Windows because we use the LTS version of OpenSSL 3.0.x and that's not updated in vcpkg https://vcpkg.io/en/package/openssl we can think about using the non-LTS version for window packaging.

emasab avatar Jul 18 '24 14:07 emasab

Do you have any idea why 3.0.12 was not added to vcpkg? Maybe we should raise that issue with them.

davmas30cent avatar Jul 25 '24 12:07 davmas30cent

Hi, is there a plan to address this security issue? If yes, may I know when will the fix be merged into master?

zhuoyan-khoh avatar Jul 30 '24 06:07 zhuoyan-khoh

There is a reason why 3.0.12 is not present in vcpkg, see the upstream issue in vcpkg here: https://github.com/microsoft/vcpkg/issues/39417 . I don't think there's a plan by the maintainers to add 3.0.12 or 3.0.13 to vcpkg.

We'll internally discuss what we can do.

milindl avatar Jul 30 '24 06:07 milindl

Thanks @milindl. I understand the issue better now. Can you help to update once you guys have a plan. Thanks again.

zhuoyan-khoh avatar Jul 30 '24 06:07 zhuoyan-khoh