IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more

AWS' CodeGuru Reviewer updated to tackle Log4j

Amazon's code reviewer also now includes a library detailing every detector used by the platform

A red warning sign with the words Log4j underneath on a blue background of ones and zeros

Amazon Web Services (AWS) has added two new capabilities to its developer tool CodeGuru Reviewer, including checks against the Log4j vulnerability.

The machine learning service helps uncover security vulnerabilities in code while also offering suggestions for improving code quality.

Related Resource

Seven leading machine learning use cases

Seven ways machine learning solves business problems

Whitepaper front coverFree Download

Building on these capabilities, AWS’ CodeGuru Reviewer now supports two new features: detector library and security detectors for log-injection flaws.

The detector library contains a detailed description of detectors used by CodeGuru Reviewer when searching for possible defects. Additionally, the library offers code samples in both Java and Python.

For each detector, CodeGuru Reviewer includes one noncompliant and one compliant code instance. The detectors are designed to pick up on a wide range of code defects.

In addition, CodeGuru employs machine learning and automated reasoning to identify potential errors. The result is that each detector can find additional defects on top of the one explicitly listed on its description page.

Secondly, new detectors for log-injection flaws address the problem described in CWE-117: Improper Output Neutralization for Logs. In particular, the new capability mitigates a recently discovered vulnerability in Apache Log4j.

“Following the recent Apache Log4j vulnerability, we introduced in CodeGuru Reviewer new detectors that check if you’re logging anything that is not sanitized and possibly executable,” explained AWS.

“Following these detectors, user-provided inputs must be sanitized before they are logged. This avoids having an attacker be able to use this input to break the integrity of your logs, forge log entries, or bypass log monitors.”

Detector library and new detectors for log-injection flaws are available across all AWS regions that offer Amazon CodeGuru Reviewer.

Featured Resources

The state of Salesforce: Future of business

Three articles that look forward into the changing state of Salesforce and the future of business

Free Download

The mighty struggle to migrate SAP to the cloud may be over

A simplified and unified approach to delivering Enterprise Transformation in the cloud

Free Download

The business value of the transformative mainframe

Modernising on the mainframe

Free Download

The Total Economic Impact™ Of IBM FlashSystem

Cost savings and business benefits enabled by FlashSystem

Free Download

Most Popular

Cyber attack on software supplier causes "major outage" across the NHS
cyber attacks

Cyber attack on software supplier causes "major outage" across the NHS

8 Aug 2022
Why convenience is the biggest threat to your security
Sponsored

Why convenience is the biggest threat to your security

8 Aug 2022
Electrical explosion reported at Google's Iowa data centre
data centres

Electrical explosion reported at Google's Iowa data centre

9 Aug 2022