You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Volodymyr Siedlecki <vo...@apache.org> on 2025/02/12 14:52:49 UTC

Commons Collections 3.2.2 End of Life?

Hello,

I don't see it explicitly on the commons website, but is 3.2.2 end of Life?
I'm assuming so (as there are no releases in 10 years), but I would like to
double check?

I ask since my team would like to backport a few fixes if there's any
possibility for a 3.2.3 release.

Thanks!

Volodymyr

Re: Commons Collections 3.2.2 End of Life?

Posted by Julian Reschke <ju...@gmx.de.INVALID>.
Am 12.02.2025 um 16:22 schrieb Volodymyr Siedlecki:
> We are looking at collections4 as a possibility, but haven't determined if we can upgrade yet.
>
> The main issue is COLLECTIONS-701which is flagged by security scanners:
>
> ```
> The framework Apache Commons Collections before 4.3 is vulnerable to Stack Overflow. The function add() in the file list/SetUniqueList.java throws a StackOverflowError when the add() method is called with its own list.
> ```
>
>
> Thanks

We had the same question a few months ago (and yes, because an update to
4.x was impossible within the time the security patch was needed).

As there was no interest in patching 3.x "officially", we ended up
forking it (I would need to dig out the git repo where this happened).

Best regards, Julian





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: Commons Collections 3.2.2 End of Life?

Posted by sebb <se...@gmail.com>.
On Wed, 12 Feb 2025 at 15:22, Volodymyr Siedlecki <vo...@apache.org> wrote:
>
> We are looking at collections4 as a possibility, but haven't determined if we can upgrade yet.
>
> The main issue is COLLECTIONS-701which is flagged by security scanners:
>
> ```
> The framework Apache Commons Collections before 4.3 is vulnerable to Stack Overflow. The function add() in the file list/SetUniqueList.java throws a StackOverflowError when the add() method is called with its own list.
> ```

The current release is 4.5.0-M3, i.e. later than 4.3

>
> Thanks
>
> On 2025/02/12 15:08:19 sebb wrote:
> > On Wed, 12 Feb 2025 at 14:53, Volodymyr Siedlecki <vo...@apache.org> wrote:
> > >
> > > Hello,
> > >
> > > I don't see it explicitly on the commons website, but is 3.2.2 end of Life?
> > > I'm assuming so (as there are no releases in 10 years), but I would like to
> > > double check?
> >
> > Collections3 is no longer advertised on the download page.
> >
> > All development is now happening in collections4 (and has been for many years).
> >
> > > I ask since my team would like to backport a few fixes if there's any
> > > possibility for a 3.2.3 release.
> >
> > I think that is extremely unlikely.
> >
> > Have you had a look at collections4?
> >
> > > Thanks!
> > >
> > > Volodymyr
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: Commons Collections 3.2.2 End of Life?

Posted by Arnout Engelen <en...@apache.org>.
On Wed, Feb 12, 2025 at 4:22 PM Volodymyr Siedlecki <vo...@apache.org>
wrote:

> We are looking at collections4 as a possibility, but haven't determined if
> we can upgrade yet.
>

That sounds reasonable.


> The main issue is COLLECTIONS-701which is flagged by security scanners:
>
> ```
> The framework Apache Commons Collections before 4.3 is vulnerable to Stack
> Overflow. The function add() in the file list/SetUniqueList.java throws a
> StackOverflowError when the add() method is called with its own list.
> ```
>

That does not really make sense:
* I think you should provide feedback to your security scanner vendor, as
this seems like a false positive: COLLECTIONS-701 is triggered by passing a
SetUniqueList to itself with SetUniqueList.add(), and AFAICS this can only
be triggered by incorrect code, not by malicious input. If they have
additional background information to make a convincing argument that there
is security impact here, you may report it to security@commons.apache.org
and we'll consider publishing a CVE advisory for it, but as it stands this
seems like an invalid warning
* In any case, this issue was already fixed in 4.3 so (as Sebb mentioned)
this should not prevent you from upgrading to the latest version.


Kind regards,

Arnout Engelen

On 2025/02/12 15:08:19 sebb wrote:
> > On Wed, 12 Feb 2025 at 14:53, Volodymyr Siedlecki <vo...@apache.org>
> wrote:
> > >
> > > Hello,
> > >
> > > I don't see it explicitly on the commons website, but is 3.2.2 end of
> Life?
> > > I'm assuming so (as there are no releases in 10 years), but I would
> like to
> > > double check?
> >
> > Collections3 is no longer advertised on the download page.
> >
> > All development is now happening in collections4 (and has been for many
> years).
> >
> > > I ask since my team would like to backport a few fixes if there's any
> > > possibility for a 3.2.3 release.
> >
> > I think that is extremely unlikely.
> >
> > Have you had a look at collections4?
> >
> > > Thanks!
> > >
> > > Volodymyr
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

-- 
Arnout Engelen
ASF Security Response
Apache Pekko PMC member, ASF Member
NixOS Committer
Independent Open Source consultant

Re: Commons Collections 3.2.2 End of Life?

Posted by Volodymyr Siedlecki <vo...@apache.org>.
We are looking at collections4 as a possibility, but haven't determined if we can upgrade yet. 

The main issue is COLLECTIONS-701which is flagged by security scanners: 

```
The framework Apache Commons Collections before 4.3 is vulnerable to Stack Overflow. The function add() in the file list/SetUniqueList.java throws a StackOverflowError when the add() method is called with its own list. 
```


Thanks

On 2025/02/12 15:08:19 sebb wrote:
> On Wed, 12 Feb 2025 at 14:53, Volodymyr Siedlecki <vo...@apache.org> wrote:
> >
> > Hello,
> >
> > I don't see it explicitly on the commons website, but is 3.2.2 end of Life?
> > I'm assuming so (as there are no releases in 10 years), but I would like to
> > double check?
> 
> Collections3 is no longer advertised on the download page.
> 
> All development is now happening in collections4 (and has been for many years).
> 
> > I ask since my team would like to backport a few fixes if there's any
> > possibility for a 3.2.3 release.
> 
> I think that is extremely unlikely.
> 
> Have you had a look at collections4?
> 
> > Thanks!
> >
> > Volodymyr
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: Commons Collections 3.2.2 End of Life?

Posted by Gary Gregory <ga...@gmail.com>.
On Wed, Feb 12, 2025 at 10:10 AM sebb <se...@gmail.com> wrote:
>
> On Wed, 12 Feb 2025 at 14:53, Volodymyr Siedlecki <vo...@apache.org> wrote:
> >
> > Hello,
> >
> > I don't see it explicitly on the commons website, but is 3.2.2 end of Life?
> > I'm assuming so (as there are no releases in 10 years), but I would like to
> > double check?
>
> Collections3 is no longer advertised on the download page.
>
> All development is now happening in collections4 (and has been for many years).
>
> > I ask since my team would like to backport a few fixes if there's any
> > possibility for a 3.2.3 release.
>
> I think that is extremely unlikely.

I agreed. You really should update to 4.x.

Gary

>
> Have you had a look at collections4?
>
> > Thanks!
> >
> > Volodymyr
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: Commons Collections 3.2.2 End of Life?

Posted by sebb <se...@gmail.com>.
On Wed, 12 Feb 2025 at 14:53, Volodymyr Siedlecki <vo...@apache.org> wrote:
>
> Hello,
>
> I don't see it explicitly on the commons website, but is 3.2.2 end of Life?
> I'm assuming so (as there are no releases in 10 years), but I would like to
> double check?

Collections3 is no longer advertised on the download page.

All development is now happening in collections4 (and has been for many years).

> I ask since my team would like to backport a few fixes if there's any
> possibility for a 3.2.3 release.

I think that is extremely unlikely.

Have you had a look at collections4?

> Thanks!
>
> Volodymyr

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org