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 2025/01/16 01:57:00 UTC
[jira] [Assigned] (ARTEMIS-4926) IllegalArgumentException in UriSupport.parseParameters
[ https://issues.apache.org/jira/browse/ARTEMIS-4926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram reassigned ARTEMIS-4926:
---------------------------------------
Assignee: Justin Bertram
> IllegalArgumentException in UriSupport.parseParameters
> ------------------------------------------------------
>
> Key: ARTEMIS-4926
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4926
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Ekaterina Zilotina
> Assignee: Justin Bertram
> Priority: Major
> Labels: pull-request-available
> Attachments: UriSupportFuzzer.java.txt, UriSupportcrash-00152a429040cf0bb95bdce6422303498a30631a, UriSupportcrash-084e9380bd54a4f1eba0131ca1d67f2720c76025, UriSupportcrash-90b1ee0ba36f0cae32ac20469ce0d3ddcfa8e5fa, UriSupportcrash-a520043b41390db8ef10a6675f43ecf6faa7e859, UriSupportcrash-b46a887ae8b7dea48921f85c09f35694d9f502b9, fuzz_state.txt
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Function *URLDecoder.decode()* uses in lines [147|https://github.com/apache/activemq-artemis/blob/b4d3a776499cb3ef9a350107faa998c81b20c3e6/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/uri/URISupport.java#L147] and [148|https://github.com/apache/activemq-artemis/blob/b4d3a776499cb3ef9a350107faa998c81b20c3e6/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/uri/URISupport.java#L148] (URISupport.java) and can produce {*}IllegalArgumentException{*}, which won't be catched when function *UriSupport.parseParameters()* works.
> This error was found with pure *UriSupport.parseParameters(URI uri)* fuzz testing and may be it does not pose a risk to artemis, but this is important to me, because in this code area there isn't any handling of it.
> crash samples, fuzz test and part of jazzer log are below
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact