PT-2023-35499

تاريخ النشر

2023-07-22

·

تاريخ التحديث

2025-11-14

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

Name of the Vulnerable Software and Affected Versions base (affected versions not specified) toml-reader versions 0.1.0.0
Description The issue is related to memory exhaustion with large exponents in the readFloat function. Processing a number expressed in scientific notation with a very large exponent could cause a denial of service. The slowdown is observable on a modern machine. The readFloat function uses Text.Read.Lex.numberToRational, which calculates 10 ^ exponent and seems to take linear time and memory.
Recommendations For base, consider using the read function instead of readFloat, as the Read instances for Float and Double perform bounds checks on the exponent. For toml-reader version 0.1.0.0, update to version 0.2.0.0, which mitigates the issue by immediately returning Infinity when the exponent is large enough.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
HSEC-2023-0007
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾