Edit Page
 Index > Community > Security Reports > 2.2.x Security Report > Geronimo 2.1.x and 2.2.x Spring Framework SEC02 Patch Instructions User List | Dev List | Wiki | Issue Tracker  
  Overview
Home
Documentation
Downloads
News Archive
Project Management
License
Privacy Policy
ASF
  Search
Powered by Google Search
  Community
Events
Get Involved
Committers
Mailing Lists
Discussion Forums
Blog
IRC
FAQ
Wiki
Found a Bug?
Security Reports
Service and Support
ASF Sponsorship
ASF Thanks!
  Development
Javadoc
XML Schemas
Source Code
Coding Standards
Issue Tracker
Related Projects
Release Roadmaps
  Subprojects
Development Tools
Sample Applications
GBuild
GShell
XBean
Yoko
Java EE Specs
Components
Plugins
RSS News
RSS Site Changes
ATOM User Mailing List
ATOM Developer Mailing List

Geronimo 2.1.x and Geronimo 2.2 Patch Instructions for Spring Framework SEC02 Vulnerability.

The Spring Framework project has recently discovered a security vulnerability which may allow a remote attacker to inject malicious code into an application that is using the Spring Framework. For more information on this security vulnerability kindly refer the following document:

How is Apache Geronimo Affected?

Apache Geronimo uses the Spring Framework to implement some functions in the ActiveMQ console and the vulnerable Spring libraries are included in the Geronimo jar repository. It is not believed that the console application is vulnerable to this attack, but any application that is using the included version of the Spring framework might be. Users are advised to update the version of the Spring libraries to remove the chance that this exploit can be used.

These issues have been fixed in Spring Framework version 2.5.6.SEC02.

How can I avoid these vulnerabilities in Apache Geronimo?

It is recommended that you move to Apache Geronimo v2.1.6 or v2.2.1. These versions include the updated Spring libraries.

If you wish to remain on an existing version of Geronimo, the installation can be patched to avoid the vulnerability. The following steps will upgrade the Spring framework libraries used by the server.

  • Copy all the jars according to the original repository directory structure. For example, copy spring-beans-2.5.6.SEC02.jar to <G_HOME>/repository/org/springframework/spring-beans/2.5.6-SEC02
  • Open the <G_HOME>/var/config/artifact_aliases.properties in edit mode and add the following entries:
    org.springframework/spring-beans/2.5.6/jar=org.springframework/spring-beans/2.5.6-SEC02/jar
    org.springframework/spring-context/2.5.6/jar=org.springframework/spring-context/2.5.6-SEC02/jar
    org.springframework/spring-core/2.5.6/jar=org.springframework/spring-core/2.5.6-SEC02/jar
    org.springframework/spring-web/2.5.6/jar=org.springframework/spring-web/2.5.6-SEC02/jar
    
  • Start the server.