All items
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
All tracked items across vulnerabilities, news, research, incidents, and regulatory updates.
571 items
CVE-2024-5185 affects the EmbedAI application, which is susceptible to security issues enabling Data Poisoning attacks. The flaw stems from a CSRF vulnerability, enabled by the absence of secure session management and weak CORS policies. An attacker who lures a user to a malicious webpage can trick that user into uploading and integrating incorrect data into the application's language model.
This post, part of a machine learning attack series, covers backdooring the original Keras Husky AI model. It frames model deserialization issues as a supply chain threat that can lead to arbitrary code execution. The author then examines tooling for detecting the resulting backdoor.
The sagemaker.base_deserializers.NumpyDeserializer module in sagemaker-python-sdk before v2.218.0 performs unsafe deserialization when untrusted data is passed as pickled object arrays. An unprivileged third party may exploit this to cause remote code execution or denial of service, affecting confidentiality and integrity.
Fix: Upgrade to version 2.218.0. Users unable to upgrade should not pass pickled numpy object arrays that originated from an untrusted source or could have been tampered with, and should only pass pickled numpy object arrays…
CVE-2024-3568 affects the huggingface/transformers library through unsafe deserialization in the load_repo_checkpoint() function of the TFPreTrainedModel() class. The function calls pickle.load() on data from potentially untrusted sources, so a crafted serialized payload can execute arbitrary code when a victim loads a seemingly harmless checkpoint during normal training.
TorchServe versions from 0.1.0 up to but not including 0.9.0 are affected by CVE-2023-48299. Through the model/workflow management API, an attacker can upload archives that extract files to any location the process can write to. This could let third parties hide harmful code in public models and compromise machines running TorchServe.
Fix: The ZipSlip issue has been fixed by validating the paths of files in a zip archive before extraction. TorchServe release 0.9.0 includes the fix.
Packages org.deeplearning4j:dl4j-examples and org.deeplearning4j:platform-tests through version 1.0.0-M2.1 reference unclaimed S3 buckets in some older NLP examples. Anyone who runs those examples could pull data from a bucket that an attacker may have claimed.
Fix: The problem has been patched. Users should upgrade to snapshots, as Deeplearning4J plan to publish a release with the fix at a later date.
NVD/CVE DatabaseA researcher backdoored a Python pickle file from a two-year-old Husky AI Google Colab notebook using fickling's --inject command. When the file was loaded by StyleGAN2-ADA's generate command, the injected code executed without affecting the program's output. The author notes that Google Drive mapped into Colab projects could expose that data to an attacker who tricks a user into opening a malicious pickle file.
CVE-2021-43811 affects Sockeye, the open-source sequence-to-sequence framework for Neural Machine Translation built on PyTorch, in versions below 2.3.24. These versions use unsafe YAML loading of model and data configuration files, which can execute arbitrary code embedded in a config file. An attacker must add malicious code to a trained model's config file and convince users to download and run that model, after which the embedded code runs locally.
Fix: The issue is fixed in version 2.3.24.
Rasa, an open source machine learning framework for text and voice conversations, has a vulnerability in its function that loads trained model `tar.gz` files. A malicious actor can craft a `model.tar.gz` file that overwrites or replaces bot files in the bot directory.
Fix: The vulnerability is fixed in Rasa 2.8.10. For users unable to update, ensure that users do not upload untrusted model files, and restrict CLI or API endpoint access where a malicious actor could target a deployed Rasa…
This is an index page for the author's machine learning attack blog series, collecting posts on the ML pipeline, the Husky AI project, threat modeling, and practical attacks and defenses. It lists topics such as model file theft, backdooring pickle and Keras model files, and CVE-2020-16977 in the VS Code Python extension. The author notes that typical red teaming techniques like SSH Agent Hijacking, weak access control, and exposed credentials also put AI/ML systems at risk.
scikit-learn (aka sklearn) through 0.23.0 can unserialize and execute commands from an untrusted file passed to joblib.load(), if __reduce__ makes an os.system call. Third parties dispute this issue, noting that joblib.load() is documented as unsafe and that using it securely is the user's responsibility. The weakness is classified as CWE-502, Deserialization of Untrusted Data.
Fix: Fickling's --check-safety command checks pickle files for malicious opcodes and --trace shows the opcodes. The author advises only opening pickle files that you created or trust.
Embrace The Red