Alerts This Week
Warning Icon 1 631
Alerts This Week
Warning Icon 1 631

Fedora 40: FEDORA-2024-129d8ca6fc High Objensenis Type Confusion Fix

fedora
Calendar Grey March 7, 2024
Dist Fedora Esm H88
Keep informed about Fedora 40's objenesis resolution targeting type mismatch challenges and JDK modifications for enhanced security.
Change for system JDK from 17 to 21

Summary

Objenesis is a small Java library that serves one purpose: to instantiate

a new object of a particular class.

Java supports dynamic instantiation of classes using Class.newInstance();

however, this only works if the class has an appropriate constructor. There

are many times when a class cannot be instantiated this way, such as when

the class contains constructors that require arguments, that have side effects,

and/or that throw exceptions. As a result, it is common to see restrictions

in libraries stating that classes must require a default constructor.

Objenesis aims to overcome these restrictions by bypassing the constructor

on object instantiation. Needing to instantiate an object without calling

the constructor is a fairly specialized task, however there are certain cases

when this is useful:

* Serialization, Remoting and Persistence - Objects need to be instantiated

and restored to a specific state, without invoking code.

* Proxies, AOP Libraries and Mock Objects - Classes can be sub-classed without

needing to worry about the super() constructor.

* Container Frameworks - Objects can be dynamically instantiated in

non-standard ways.

Update Information:

Change for system JDK from 17 to 21. upstream security release 122.0.6261.94 High CVE-2024-1938: Type Confusion in V8 High CVE-2024-1939: Type Confusion in V8 fixed bug with requires Automatic update for lucene-9.9.2-1.fc40. bump java source/target to 1.8, fixes 2266639

Change Log

* Sat Mar 2 2024 Jiri Vanek - 3.3-9 - Rebuilt for java-21-openjdk as system jdk * Fri Mar 1 2024 Jiri Vanek - 3.3-8 - bump of release for for java-21-openjdk as system jdk

References


[ 1 ] Bug #2123726 - consoleImageViewer crashes at start https://bugzilla.redhat.com/show_bug.cgi?id=2123726 [ 2 ] Bug #2261062 - directory-maven-plugin: FTBFS in Fedora rawhide/f40 https://bugzilla.redhat.com/show_bug.cgi?id=2261062 [ 3 ] Bug #2266639 - directory-maven-plugin fails to build with java-21-openjdk https://bugzilla.redhat.com/show_bug.cgi?id=2266639 [ 4 ] Bug #2266934 - CVE-2024-1938 chromium: type confusion [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2266934 [ 5 ] Bug #2266937 - CVE-2024-1939 chromium: type confusion [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=2266937 [ 6 ] Bug #2267486 - Include Java 21 as system Java Change in Fedora 40 Beta https://bugzilla.redhat.com/show_bug.cgi?id=2267486

Update Instructions

This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2024-129d8ca6fc' at the command line. For more information, refer to the dnf documentation available at https://dnf.readthedocs.io/en/latest/command_ref.html

Name: objenesis
Product: Fedora 40
Version: 3.3
Release: 9.fc40
Summary: A library for instantiating Java objects

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here