You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2024/04/20 04:46:00 UTC

[jira] [Assigned] (ARTEMIS-4706) TAINTED_INT.LOOP.MIGHT possible loop freeze

     [ https://issues.apache.org/jira/browse/ARTEMIS-4706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram reassigned ARTEMIS-4706:
---------------------------------------

    Assignee:     (was: Clebert Suconic)

> TAINTED_INT.LOOP.MIGHT possible loop freeze
> -------------------------------------------
>
>                 Key: ARTEMIS-4706
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4706
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.25.0
>            Reporter: Andrey Slepykh
>            Priority: Major
>         Attachments: Screenshot from 2024-03-30 12-16-32.png
>
>
> LineĀ [60|https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-server/src/main/java/org/apache/activemq/artemis/spi/core/security/scram/ScramUtils.java#L60] declares a loop based on the "iterationsCount" variable. But the variable is checked only for the minimum value and is not checked in any way for the maximum, which can lead to a large computational load for the program
> !Screenshot from 2024-03-30 12-16-32.png!
> Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.
> Author: Firsov Vladimir, BMSTU (fvv22u102@student.bmstu.ru)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)