libcurl.so.4 Vulnerability
Ältere Kommentare anzeigen
Hello,
My security team removed libcurl.so.4 that came with my MATLAB installation of R2022a. This is due to vulnerability cve-2023-38545. I did a softlink to the patched version - libcurl.so.4.8.4, but MATLAB crashes. Is there any workaround, or will there be any response from MATLAB? I have an open case to MATLAB currently, but haven't received any useful update. Also, this affects R2023b as well.
Akzeptierte Antwort
Weitere Antworten (1)
Maneet Kaur Bagga
am 15 Nov. 2023
1 Stimme
Hi Michael,
Curl has been upgraded to 8.4.0 in R2023b Upgrade 4, which resolves the issue.
Hope this helps!
4 Kommentare
Vincent Sherart
am 1 Feb. 2024
Folks, Curl needs to be patched on previous versions back to 2021a, or my org will need to force everybody to upgrade to R2023b Upgrade 4. Angry users with pitchforks and torches will be at my office door when I announce that little requirement.
Vincent Sherart
Joseph Macon
am 9 Feb. 2024
Could MathWorks please answer this question? It's February 2024. Matlab 2022b is less than two years old. Update 8 shipped last week. Will MathWorks provide an update for earlier versions of Matlab to patch the libcurl vulnerability? Does MathWorks deem certain versions of Matlab secure despite the CVE? Upgrading to Matlab 2023b is not a viable solution for everybody. When vulnerabilities are discovered in 2023b, will the only solution be to upgrade to 2024a/b?
David Ritz
am 16 Mär. 2024
Bearbeitet: David Ritz
am 16 Mär. 2024
I agree that MathWorks should release udates to older MATLAB versions to fix this, but my workaround for R2021a, if it helps anyone: I edited matlabrc.m to allow Matlab to find and use the libcurl library installed with the OS. I added this before the 'Clean up workspace' line:
echo off
path1 = getenv('LD_LIBRARY_PATH');
path = ['/lib64' ':' path1];
setenv('LD_LIBRARY_PATH', path);
I was then able to delete the libcurl version packaged with MATLAB, curl still worked within MATLAB, and we achieved a clean vulnerability scan. The specifics, of course, may differ depending on your OS/distribution.
MathWorks Support Team
am 21 Mär. 2024
Only the officially shipped 3rd party libraries are tested with MATLAB, and linking to any other 3rd party libraries may have potential downsides since MATLAB has not been tested with any other versions of those libraries. This is especially true for curl, which has extensive build time configuration options that we make use of.
Please refer to the newly accepted answer on this post for more information.
Kategorien
Mehr zu BeagleBone Black finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!