Safeguard
Tag

java-security

Safeguard articles tagged "java-security" — guides, analysis, and best practices for software supply chain and application security.

139 articles

Security

org.springframework:spring-web: Known CVEs and How to Stay Patched

A security-focused look at org.springframework:spring-web, including the Spring4Shell RCE, how spring-web relates to spring-webmvc, and how to keep the dependency safe.

Apr 23, 20265 min read
Security

The POJO Class in Java: A Security Guide to Plain Objects

A POJO class in Java looks harmless — just fields and getters — but the moment it becomes a deserialization target it turns into an attack surface. Here is how plain objects go wrong and how to keep them safe.

Apr 21, 20267 min read
Security

Log4j 1.2.17: Why It Is Still a Security Problem

Log4j 1.2.17 is the last release of a branch that reached end of life in 2015. It carries multiple RCE and deserialization flaws and cannot be patched. Here is what to do about it.

Apr 19, 20265 min read
Security

XXE Example in Java: How the Attack Works and How to Stop It

A concrete XXE example in Java showing why default XML parsers are dangerous, what an attacker can read, and the exact parser configuration that shuts it down.

Apr 18, 20265 min read
Security

The Most Common Java Security Flaws and How to Fix Them

A practitioner's tour of the Java security flaws that actually break production systems — deserialization, injection, XXE, and the dependency risks that scanners miss.

Apr 17, 20267 min read
Security

Java URL Decode: Doing It Safely Without Opening Holes

Java URL decode looks trivial until you hit double-decoding and encoding mismatches. Here is how to decode URLs in Java correctly and where the security bugs hide.

Apr 16, 20266 min read
Security

What a Code Fixer Really Does: A Security Guide

A code fixer promises to find and repair bugs automatically, but for security work the details matter. Here is how to use one without introducing new risk.

Apr 16, 20266 min read
Security

CVE-2023-22081: The Oracle Java JSSE Denial-of-Service Flaw

CVE-2023-22081 is a Java SE and GraalVM vulnerability in the JSSE component that can cause a partial denial of service over HTTPS. Here is what to patch.

Apr 14, 20265 min read
Security

CVE-2022-40152: Woodstox XML Parsing Denial of Service

CVE-2022-40152 lets malicious XML with deeply nested DTD content crash Woodstox-based parsers via stack overflow. Here is the root cause, affected versions, and how to remediate it.

Apr 13, 20265 min read
Security

Spring Boot Logging Best Practices That Keep Secrets Out of Your Logs

Spring Boot logging best practices focused on security: structured logs, keeping secrets and PII out, safe log levels, and avoiding the mistakes that turned Log4Shell into a catastrophe.

Apr 13, 20267 min read
Security

Java URL Encode: How to Encode URLs Safely Without Introducing Bugs

The Java URL encode API is easy to reach for and easy to misuse. Here is when to use URLEncoder, when to use URI, and how the wrong choice becomes an injection risk.

Apr 10, 20266 min read
Security

spring-data-commons: A Security Guide

spring-data-commons underpins Spring Data's repository model, and one of its most infamous flaws - CVE-2018-1273 - turned property binding into remote code execution. Here is what to know.

Apr 10, 20265 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.

java-security (Page 8) — Safeguard Blog