|
Message-ID: <CAGUWgD8jWfhdA5+o_BJN-Mgh0+4x7yYPDcjb+Bve14b9Hxnp3A@mail.gmail.com> Date: Mon, 24 Apr 2023 16:43:29 +0300 From: Georgi Guninski <gguninski@...il.com> To: oss-security@...ts.openwall.com Subject: Real world vulnerabilities of CWE-1077: Floating Point Comparison with Incorrect Operator? Are there real world examples of vulnerabilities of this: https://cwe.mitre.org/data/definitions/1077.html CWE-1077: Floating Point Comparison with Incorrect Operator This issue can prevent the product from running reliably. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability. One simple example in python: >>> A=(0.1+0.2)+0.3;B=0.1+(0.2+0.3);(A==B,A-B,A,B) (False, 1.1102230246251565e-16, 0.6000000000000001, 0.6)
Powered by blists - more mailing lists
Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.