ColdFusion (2021 release) Update 18

ColdFusion (2021 release) Update 18

Security recommendations

For all security updates, Adobe recommends applying the security configuration settings outlined on the ColdFusion Security page and reviewing the respective Lockdown guides.  

Alert:

Check if you need to create and configure connectors after installing the update. View the section Connector Configuration Table for more information.

Note:

The updates below are cumulative and contain all updates from previous ones. If you are skipping updates, you can apply the latest update, not those you are skipping. Further, you must take note of any changes that are implemented in each of the updates you are skipping.

To install previous updates, see ColdFusion (2021 release) updates.

What's new and changed

ColdFusion (2021 release) Update 18 (release date, December 23, 2024) resolves a critical vulnerability that could lead to arbitrary file system read, if the pmtagent package is installed on your ColdFusion server.

View the security bulletin, APSB24-107, for more information.

Important:

If you are using Performance Monitoring Toolset (PMT), make sure the PMT server is up and running while applying the ColdFusion update.

Frequently asked questions about the update

If ColdFusion is configured with PMT, and PMT is not running while installing the update, this could impact the communication between CF and PMT. So yes, PMT needs to be up and running.

However, if you DO NOT have PMT running, apply the update directly.

If this happens, start your PMT Server, and restart your ColdFusion server. This should resolve the issue

Yes. If pmtagent is installed and I am not using the PMT for monitoring, we strongly recommend you to apply the update.

No. There is no impact.

Yes. By default, there is an impact. You may, however, uninstall the pmtagent package, if the package isn't used actively.

If it's used, we strongly recommend you to apply the update.

No. There is no impact.

Yes. There is an impact.

Important

The UUID in the next two sections refers to the uuid used for communication between CF and PMT.

Reset UUID

After applying the update, your UUID will be reset. However, if you want to reset the ID on every ColdFusion restart for security reasons, follow the steps:

  1. Add the jvm flag -Dcoldfusion.monitoring.id.reset=true.
  2. Restart ColdFusion.

Reset UUID manually

However, if you want to manually reset the ID without applying the update, view Reset UUID in ColdFusion.

Additionally, manually remove the following:

  • cfusion/wwwroot/CFIDE/adminapi/_servermanager folder
  • cfusion/wwwroot/CFIDE/adminapi/servermonitoring.cfc file

See the section Files removed in this update in ColdFusion (2023 release) Update 7 tech note for more context and background information.

ColdFusion JDK flag requirements

COLDFUSION 2021 (version 2021.0.0.323925) and above

For Application Servers   

On JEE installations, set the following JVM flag, "-Djdk.serialFilter= !org.mozilla.**;!com.sun.syndication.**;!org.apache.commons.beanutils.**;!org.jgroups.**;!com.sun.rowset.**", in the respective startup file depending on the type of Application Server being used.

For example:   

  • Apache Tomcat Application Server: edit JAVA_OPTS in the ‘Catalina.bat/sh’ file   
  • WebLogic Application Server:  edit JAVA_OPTIONS in the ‘startWeblogic.cmd’ file   
  • WildFly/EAP Application Server:  edit JAVA_OPTS in the ‘standalone.conf’ file   

Set the JVM flags on a JEE installation of ColdFusion, not on a standalone installation.  

Known issue

  • When Update 12 of ColdFusion (2023 release) or Update 18 of ColdFusion (2021 release) is installed on JEE deployments, an error message might appear in certain cases upon attempting to view the Settings Summary page in ColdFusion Administrator.

Prerequisites

  1. On 64-bit computers, use 64-bit JRE for 64-bit ColdFusion.
  2. If the ColdFusion server is behind a proxy, specify the proxy settings for the server to get the update notification and download the updates. Specify proxy settings using the system properties below in the jvm.config for a stand-alone installation, or corresponding script file for JEE installation.
    • http.proxyHost
    • http.proxyPort
    • http.proxyUser
    • http.proxyPassword
  3. For ColdFusion running on JEE application servers, stop all application server instances before installing the update.

Installation

ColdFusion Administrator

In Package Manager > Packages, click Check for Updates in Core Server.

After it detects an update, click Update. The core package gets updated with the latest update.

All installed packages that needs an update get updated.

Restart ColdFusion for the changes to take effect.

Install the update in offline mode manually

  1. Download the hotfix installer from the link.
  2. Download the packages zip file from this link and extract its contents to a location accessible to all ColdFusion server instances.
  3. Update "packagesurl" in cfusion/lib/neo_updates.xml of cfusion and all its child instances to point to <InstallerReposityUnzippedPath>/bundles/bundlesdependency.json present inside the downloaded folder.

If the core server hotfix installation is successful and if there are errors or issues with packages, packages can be installed/updated from the package manager client(cfusion\bin\cfpm.bat|cfpm.sh).

You must have privileges to start or stop ColdFusion service and full access to the ColdFusion root directory.

  • Windows: <cf_root>\jre\bin\java.exe -jar <InstallerReposityUnzippedPath>\bundles\updateinstallers\hotfix-018-330341.jar
  • Linux-based platforms: <cf_root>/jre/bin/java -jar  <InstallerReposityUnzippedPath>/bundles/updateinstallers/hotfix-018-330341.jar

Ensure that the JRE bundled with ColdFusion is used for executing the downloaded JAR. For standalone ColdFusion, this must be at, <cf_root>/jre/bin.

Install the update from a user account with permission to restart ColdFusion services and other configured webservers.

For further details on manually updating the application, see the help article.

Note:

If you are on Java 11.0.20 or higher and want to apply the Hotfix, use the flag java -Djdk.util.zip.disableZip64ExtraFieldValidation=true -jar hotfix.jar.

However, if you are applying the update from the Administrator, you do not require any flag.

Post installation

Note:

After applying this update, the ColdFusion build number should be 2021.0.18.330341

Uninstallation

To uninstall the update, perform one of the following:

  • In ColdFusion Administrator, click Uninstall in Server Update Updates Installed Updates.
  • Run the uninstaller for the update from the command prompt. For example, java -jar {cf_install_home}/{instance_home}/hf_updates/hf-2021-00018-330341/uninstall /uninstaller.jar

If you can't uninstall the update using the above-mentioned uninstall options, the uninstaller could be corrupted. However, you can manually uninstall the update by doing the following:

  1. Delete the update jar from {cf_install_home}/{instance_name}/lib/updates.
  2. Copy all folders from {cf_install_home}/{instance_name}/hf-updates/{hf-2021-00018-330341}/backup directory to {cf_install_home}/{instance_name}/

Connector configuration

2021 Update Connector recreation required
Update 18

No

However, if upgrading from Update 10 or any previous update, you must recreate the connector.

View the following for more information.

Update 17

No

However, if upgrading from Update 10 or any previous update, you must recreate the connector.

View the following for more information.

Update 16

No

However, if upgrading from Update 10 or any previous update, you must recreate the connector.

View the following for more information.

Update 15

No

However, if upgrading from Update 10 or any previous update, you must recreate the connector.

View the following for more information.

Update 14

No

However, if upgrading from Update 10 or any previous update, you must recreate the connector.

View the following for more information.

Update 13

No

However, if upgrading from Update 10 or any previous update, you must recreate the connector.

View the following for more information.

Update 12

No

However, if upgrading from Update 10 or any previous update, you must recreate the connector.

View the following for more information.

Update 11 Yes
Update 10 No
Update 9 No
Update 8 No
Update 7 No
Update 6 No
Update 5 No
Update 4 No
Update 3 No. You need not upgrade the connector if you have already upgraded the connector in Update 2.
Update 2 Yes
Update 1 Yes

Packages updated

Update Packages updated
Update 18

Yes

The pmtagent package is updated.

Update 17 Yes
Update 16 No
Update 15 No
Update 14 Yes
Update 13 Yes
Update 12 No
Update 11 Yes
Update 10 No
Update 9 No
Update 8 No
Update 7 No
Update 6 Yes
Update 5 Yes
Update 4 Yes
Update 3 Yes
Update 2 Yes
Update 1 Yes

Get help faster and easier

New user?