Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chainguard-libraries-java

This repository contains tools and example projects for Chainguard Libraries for Java.

Available directories:

  • cve-2024-38819 - Spring Framework application to showcase how to fix CVE-2024-38819
  • cve-2026-22732 - Spring Security application to showcase how to fix CVE-2026-22732
  • spring-boot - minimal Spring Boot web application that resolves from Chainguard Libraries, buildable with both Maven and Gradle
  • tools - collection of scripts and example configuration files

Prerequisites

  • A Chainguard account with a Java libraries entitlement
  • chainctl installed and authenticated
  • JDK 17 for the cve-* demos and JDK 21 for the spring-boot demo — the versions differ by design, since each CVE demo is pinned to the Spring Boot release whose CVE it shows, and cve-2024-38819 on Spring Boot 2.5.x predates Java 21 support. To run every demo, have both JDK 17 and JDK 21 available
  • Apache Maven — required only for tools/download-dependency-tree-maven.sh; the demo projects use the bundled Maven wrapper (./mvnw) and need no separate install
  • Gradle — not required; the spring-boot demo bundles the Gradle wrapper (./gradlew) and provisions its Java 21 toolchain automatically

Getting started

Configure access to Chainguard Libraries, either directly or through a repository manager, using the example settings and commands in tools. Then follow each demo's README to run it.

Resources

Videos

About

Collection of demo projects and resources for Chainguard Libraries for Java

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages