Menu

  • Alerts
  • Incidents
  • News
  • APTs
  • Cyber Decoded
  • Cyber Hygiene
  • Cyber Review
  • Cyber Tips
  • Definitions
  • Malware
  • Threat Actors
  • Tutorials

Useful Tools

  • Password generator
  • Report an incident
  • Report to authorities
No Result
View All Result
CTF Hack Havoc
CyberMaterial
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
Hall of Hacks
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
No Result
View All Result
Hall of Hacks
CyberMaterial
No Result
View All Result
Home Alerts

Keras 2 Lambda Layers Vulnerability

April 18, 2024
Reading Time: 3 mins read
in Alerts
Keras 2 Lambda Layers Vulnerability

Security researchers have identified a critical vulnerability in third-party TensorFlow-based Keras models, allowing attackers to inject arbitrary code into ML applications. This flaw affects versions built before Keras 2.13, enabling attackers to exploit open redirect vulnerabilities in the Nespresso website to inject malicious content. By manipulating the URL value, hackers can craft links that appear legitimate but redirect users to malicious sites, posing a serious threat to system security.

The vulnerability stems from the Lambda Layers feature in Keras, which allows developers to add arbitrary Python code to models using anonymous functions. While newer versions of Keras implement safeguards against unsafe deserialization of Lambda layers, older versions lack this protection, leaving systems vulnerable to code execution attacks. Attackers exploit this weakness by distributing trojanized models that appear legitimate but contain malicious code, bypassing security measures and compromising ML applications.

Security researchers emphasize the need for developers to upgrade to Keras 2.13 or later versions to mitigate the risk of code injection attacks. Additionally, safe loading practices should be implemented, ensuring that the safe_mode parameter is not set to False when loading models. Users are advised to exercise caution when using third-party models, verifying their behavior before deployment and sourcing models from trusted providers to minimize security risks.

Furthermore, model aggregators are encouraged to distribute models in safe formats and implement scanning mechanisms to identify unsafe models. Model creators should prioritize safe-to-deserialize features and adhere to secure serialization standards to prevent the inadvertent introduction of vulnerabilities. Overall, AI/ML framework developers are urged to avoid using insecure serialization facilities and adopt measures to restrict code execution, promoting a more secure ecosystem for machine learning applications.

Reference:
  • TensorFlow Keras 2 Lambda Vulnerability Allows Code Injection

Tags: April 2024Cyber AlertCyber Alerts 2024Cyber RiskCyber threatMLTensorFlow-based Keras
ADVERTISEMENT

Related Posts

FIN6 Uses Fake Resumes To Hack Recruiters

FIN6 Uses Fake Resumes To Hack Recruiters

June 11, 2025
Microsoft Fixes Exploited WebDAV Zero Day

Microsoft Fixes Exploited WebDAV Zero Day

June 11, 2025
Fake Sora AI Lure Installs Infostealer

Fake Sora AI Lure Installs Infostealer

June 11, 2025
New Skitnet Malware Arms Ransomware Gangs

Google Bug Exposed Any User’s Phone Number

June 10, 2025
New Skitnet Malware Arms Ransomware Gangs

Roundcube RCE Flaw Risks 84,000 Servers

June 10, 2025
New Skitnet Malware Arms Ransomware Gangs

New Skitnet Malware Arms Ransomware Gangs

June 10, 2025

Latest Alerts

Fake Sora AI Lure Installs Infostealer

FIN6 Uses Fake Resumes To Hack Recruiters

Microsoft Fixes Exploited WebDAV Zero Day

Google Bug Exposed Any User’s Phone Number

Roundcube RCE Flaw Risks 84,000 Servers

New Skitnet Malware Arms Ransomware Gangs

Subscribe to our newsletter

    Latest Incidents

    BHA Hit By Ransomware But Races Continue

    Sompo Data Breach Puts 17.5M Records At Risk

    DDoS Disrupts Roularta Media In Belgium

    Texas DOT Breach Leaks 300K Crash Reports

    Illinois HFS Employee Phishing Leaks Data

    Cyberattack Disrupts UNFI Food Deliveries

    CyberMaterial Logo
    • About Us
    • Contact Us
    • Jobs
    • Legal and Privacy Policy
    • Site Map

    © 2025 | CyberMaterial | All rights reserved

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Add New Playlist

    No Result
    View All Result
    • Alerts
    • Incidents
    • News
    • Cyber Decoded
    • Cyber Hygiene
    • Cyber Review
    • Definitions
    • Malware
    • Cyber Tips
    • Tutorials
    • Advanced Persistent Threats
    • Threat Actors
    • Report an incident
    • Password Generator
    • About Us
    • Contact Us
    • Advertise with us

    Copyright © 2025 CyberMaterial