Dozens of Vulnerable NuGet Packages Allow Attackers to Target .NET Platform

An investigation of off-the-shelf packages hosted on the NuGet repository has uncovered 51 exclusive program components to be susceptible to actively exploited, superior-severity vulnerabilities, after once again underscoring the risk posed by 3rd-celebration dependencies to the computer software improvement process.

In light of the growing variety of cyber incidents that focus on the computer software supply chain, there is an urgent need to have to evaluate these third-social gathering modules for any safety threats and reduce the assault floor, ReversingLabs researcher Karlo Zanki mentioned in a report shared with The Hacker News.

NuGet is a Microsoft-supported mechanism for the .Net platform and functions as a package supervisor made to permit developers to share reusable code. The framework maintains a central repository of around 264,000 unique deals that have collectively produced much more than 109 billion deal downloads.

Stack Overflow Teams

“All determined precompiled program components in our exploration have been unique versions of 7Zip, WinSCP and PuTTYgen, systems that offer elaborate compression and community features,” Zanki discussed. “They are constantly updated to strengthen their features and to deal with recognised protection vulnerabilities. Nonetheless, from time to time it occurs that other software packages get updated but still retain utilizing a number of a long time aged dependencies containing identified vulnerabilities.”

nuget hacking

In one particular occasion, it was discovered that “WinSCPHelper” — a remote server file management library and which has been downloaded far more than 35,000 situations — use an old and vulnerable WinSCP model 5.11.2, whereas WinSCP version 5.17.10 launched before this January addresses a vital arbitrary execution flaw (CVE-2021-3331), hence exposing consumers of the offer to the vulnerability.

nuget hacking

Moreover, the scientists established that a lot more than 50,000 software components extracted from NuGet packages had been statically connected to a vulnerable edition of “zlib” facts compression library, rendering them susceptible to a selection of acknowledged security challenges these types of as CVE-2016-9840, CVE-2016-9841, CVE-2016-9842, and CVE-2016-9843.

Prevent Ransomware Attacks

Some of the offers that were being noticed to have a zlib vulnerability are “DicomObjects” and “librdkafka.redist”, each individual of which have been downloaded no significantly less than 50,000 and 18.2 million occasions. A make any difference of additional concern is that “librdkafka.redist” is detailed as a dependency for several other common deals, counting Confluent’s .Internet Consumer for Apache Kafka (Confluent.Kafka), which, in change, has been downloaded additional than 17.6 million instances to day.

“Corporations producing software solutions need to develop into more knowledgeable of this kind of dangers, and will need to turn out to be extra included in their handling,” Zanki claimed. “Both of those the inputs and ultimate outputs of the software package progress approach require to be checked for tampering and code high-quality problems. “Clear software program growth is one of the keystones desired to help early detection and avoidance of software package offer-chain assaults.”

Fibo Quantum