{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2025-24359","title":"Title"},{"category":"description","text":"ASTEVAL is an evaluator of Python expressions and statements. Prior to version 1.0.6, if an attacker can control the input to the `asteval` library, they can bypass asteval's restrictions and execute arbitrary Python code in the context of the application using the library. The vulnerability is rooted in how `asteval` performs handling of `FormattedValue` AST nodes. In particular, the `on_formattedvalue` value uses the dangerous format method of the str class. The code allows an attacker to manipulate the value of the string used in the dangerous call `fmt.format(__fstring__=val)`. This vulnerability can be exploited to access protected attributes by intentionally triggering an `AttributeError` exception. The attacker can then catch the exception and use its `obj` attribute to gain arbitrary access to sensitive or protected object properties. Version 1.0.6 fixes this issue.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2025-24359","url":"https://www.suse.com/security/cve/CVE-2025-24359"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1236405 for CVE-2025-24359","url":"https://bugzilla.suse.com/1236405"},{"category":"external","summary":"Advisory link for openSUSE-SU-2025:0052-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/S3ET4NHUOZVYKROXRFLTLBVGPX32M46Q/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2025:14701-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RCIYZNYY34TMKJK6SAESDFFCWXTAMH4M/"}],"title":"SUSE CVE CVE-2025-24359","tracking":{"current_release_date":"2025-03-15T03:53:10Z","generator":{"date":"2025-01-25T03:46:50Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2025-24359","initial_release_date":"2025-01-25T03:46:50Z","revision_history":[{"date":"2025-01-25T03:46:50Z","number":"2","summary":"Current version"},{"date":"2025-01-28T00:20:00Z","number":"3","summary":"Current version"},{"date":"2025-01-29T03:47:37Z","number":"4","summary":"Current version"},{"date":"2025-02-04T03:47:36Z","number":"5","summary":"Current version"},{"date":"2025-02-14T03:49:23Z","number":"6","summary":"Current version"},{"date":"2025-02-15T16:56:02Z","number":"7","summary":"Current version"},{"date":"2025-03-15T03:53:10Z","number":"8","summary":"Current version"}],"status":"interim","version":"8"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"SUSE Package Hub 15 SP6","product":{"name":"SUSE Package Hub 15 SP6","product_id":"SUSE Package Hub 15 SP6"}},{"category":"product_name","name":"openSUSE Leap 15.6","product":{"name":"openSUSE Leap 15.6","product_id":"openSUSE Leap 15.6","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.6"}}},{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"python311-asteval-1.0.6-1.1","product":{"name":"python311-asteval-1.0.6-1.1","product_id":"python311-asteval-1.0.6-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python311-asteval@1.0.6-1.1"}}},{"category":"product_version","name":"python311-asteval-1.0.6-bp156.4.3.1","product":{"name":"python311-asteval-1.0.6-bp156.4.3.1","product_id":"python311-asteval-1.0.6-bp156.4.3.1","product_identification_helper":{"purl":"pkg:rpm/suse/python311-asteval@1.0.6-bp156.4.3.1"}}},{"category":"product_version","name":"python312-asteval-1.0.6-1.1","product":{"name":"python312-asteval-1.0.6-1.1","product_id":"python312-asteval-1.0.6-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python312-asteval@1.0.6-1.1"}}},{"category":"product_version","name":"python313-asteval-1.0.6-1.1","product":{"name":"python313-asteval-1.0.6-1.1","product_id":"python313-asteval-1.0.6-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python313-asteval@1.0.6-1.1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"python311-asteval-1.0.6-bp156.4.3.1 as component of SUSE Package Hub 15 SP6","product_id":"SUSE Package Hub 15 SP6:python311-asteval-1.0.6-bp156.4.3.1"},"product_reference":"python311-asteval-1.0.6-bp156.4.3.1","relates_to_product_reference":"SUSE Package Hub 15 SP6"},{"category":"default_component_of","full_product_name":{"name":"python311-asteval-1.0.6-bp156.4.3.1 as component of openSUSE Leap 15.6","product_id":"openSUSE Leap 15.6:python311-asteval-1.0.6-bp156.4.3.1"},"product_reference":"python311-asteval-1.0.6-bp156.4.3.1","relates_to_product_reference":"openSUSE Leap 15.6"},{"category":"default_component_of","full_product_name":{"name":"python311-asteval-1.0.6-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python311-asteval-1.0.6-1.1"},"product_reference":"python311-asteval-1.0.6-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python312-asteval-1.0.6-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python312-asteval-1.0.6-1.1"},"product_reference":"python312-asteval-1.0.6-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python313-asteval-1.0.6-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python313-asteval-1.0.6-1.1"},"product_reference":"python313-asteval-1.0.6-1.1","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2025-24359","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2025-24359"}],"notes":[{"category":"general","text":"ASTEVAL is an evaluator of Python expressions and statements. Prior to version 1.0.6, if an attacker can control the input to the `asteval` library, they can bypass asteval's restrictions and execute arbitrary Python code in the context of the application using the library. The vulnerability is rooted in how `asteval` performs handling of `FormattedValue` AST nodes. In particular, the `on_formattedvalue` value uses the dangerous format method of the str class. The code allows an attacker to manipulate the value of the string used in the dangerous call `fmt.format(__fstring__=val)`. This vulnerability can be exploited to access protected attributes by intentionally triggering an `AttributeError` exception. The attacker can then catch the exception and use its `obj` attribute to gain arbitrary access to sensitive or protected object properties. Version 1.0.6 fixes this issue.","title":"CVE description"}],"product_status":{"recommended":["SUSE Package Hub 15 SP6:python311-asteval-1.0.6-bp156.4.3.1","openSUSE Leap 15.6:python311-asteval-1.0.6-bp156.4.3.1","openSUSE Tumbleweed:python311-asteval-1.0.6-1.1","openSUSE Tumbleweed:python312-asteval-1.0.6-1.1","openSUSE Tumbleweed:python313-asteval-1.0.6-1.1"]},"references":[{"category":"external","summary":"CVE-2025-24359","url":"https://www.suse.com/security/cve/CVE-2025-24359"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1236405 for CVE-2025-24359","url":"https://bugzilla.suse.com/1236405"},{"category":"external","summary":"Advisory link for openSUSE-SU-2025:0052-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/S3ET4NHUOZVYKROXRFLTLBVGPX32M46Q/"},{"category":"external","summary":"Advisory link for openSUSE-SU-2025:14701-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RCIYZNYY34TMKJK6SAESDFFCWXTAMH4M/"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Package Hub 15 SP6:python311-asteval-1.0.6-bp156.4.3.1","openSUSE Leap 15.6:python311-asteval-1.0.6-bp156.4.3.1","openSUSE Tumbleweed:python311-asteval-1.0.6-1.1","openSUSE Tumbleweed:python312-asteval-1.0.6-1.1","openSUSE Tumbleweed:python313-asteval-1.0.6-1.1"]}],"threats":[{"category":"impact","date":"2025-01-24T19:00:04Z","details":"important"}],"title":"CVE-2025-24359"}]}