[
https://issues.jboss.org/browse/JBVFS-176?page=com.atlassian.jira.plugin....
]
Kevin Conner updated JBVFS-176:
-------------------------------
Summary: CertificateReaderInputStream can eagerly load certificate information,
causing SecurityException (was: CertificateReaderInputStream can result in eager loading
of certificate information, causing SecurityException)
CertificateReaderInputStream can eagerly load certificate
information, causing SecurityException
------------------------------------------------------------------------------------------------
Key: JBVFS-176
URL:
https://issues.jboss.org/browse/JBVFS-176
Project: JBoss VFS
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Release
Affects Versions: 2.2.0.GA
Reporter: Kevin Conner
Assignee: Ales Justin
Priority: Critical
Attachments: JBVFS-176.diff
The version in question is 2.2.0.SP1
CertificateReaderInputStream can cause the certificate information within EntryInfo to be
initialised before the JarVerifier has had the opportunity to initialise the certificates
associated with its JarEntry, resulting in this information being ignored. This is a
particular problem if the entry represents a class file as any subsequent attempt to
define the class will not be associated with the correct certificate/signers, causing a
SecurityException to be raised if classes from the same package have already been loaded.
The SecurityException will be similar to the following
java.lang.SecurityException: class "org.drools.spi.CompiledInvoker"'s
signer information does not match signer information of other classes in the same package
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira