# Using GitHub's security features to help identify Log4j exposure in your codebase

DevFeed: [Using GitHub's security features to help identify Log4j exposure in your codebase](<https://devfeed.tech/articles/using-github-s-security-features-to-help-identify-log4j-exposure-in-your-codebase-68432.md>)

Original publisher: [Read original article](<https://github.blog/security/application-security/using-githubs-security-features-identify-log4j-exposure-codebase/>)

Author: Brittany O'Shea

Published: 2021-12-14T19:46:00Z

Content type: tutorial

Language: en

Sources: [GitHub Blog](<https://devfeed.tech/sources/github-engineering.md>)

Topics: [log4j](<https://devfeed.tech/topics/log4j.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [software security audit](<https://devfeed.tech/topics/software-security-audit.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [application-security](<https://devfeed.tech/tags/application-security.md>), [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [dependabot](<https://devfeed.tech/tags/dependabot.md>), [github-advanced-security](<https://devfeed.tech/tags/github-advanced-security.md>), [java](<https://devfeed.tech/tags/java.md>), [log4j](<https://devfeed.tech/tags/log4j.md>), [security](<https://devfeed.tech/tags/security.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

The article explains how to assess Log4j exposure in GitHub repositories. It recommends upgrading to Log4j 2.16.0 or applying a mitigation property, using Dependabot to find explicitly declared Maven dependencies, and using an experimental CodeQL query to identify potentially affected code paths. It notes that Dependabot did not then alert on Gradle-managed dependencies and that these tools do not provide a complete picture of exposure.

## Source excerpt

Use GitHub's security features to assess Apache Log4j exposure and, where possible, mitigate this vulnerability within your GitHub repositories.