Exploit database

GH-343c8816550f9b1931de47afeb46a592

sassoftware/jackson

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-52999

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files44
sassoftware/jacksonRevision 010aa1901029

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/main/java/com/fasterxml/jackson/core/FormatSchema.java

Java · 1,613 bytes
/* Jackson JSON-processor.
 *
 * Copyright (c) 2007- Tatu Saloranta, [email protected]
 */

package com.fasterxml.jackson.core;

/**
 * Simple tag interface used to mark schema objects that are used by some
 * {@link JsonParser} and {@link JsonGenerator} implementations to further
 * specify structure of expected format.
 * Basic JSON-based parsers and generators do not use schemas, but some data
 * formats (like many binary data formats like Thrift, protobuf) mandate
 * use of schemas.
 * Others like CSV and Java Properties may optionally use schemas (and/or use simple
 * default schema to use if caller does not specify one) which specifies
 * some aspects of structuring content.
 *<p>
 * Since there is little commonality between schemas for different data formats,
 * this interface does not define much meaningful functionality for accessing
 * schema details; rather, specific parser and generator implementations need
 * to cast to schema implementations they use. This marker interface is mostly
 * used for tagging "some kind of schema" -- instead of passing opaque
 * {@link java.lang.Object} -- for documentation purposes.
 */
public interface FormatSchema
{
    /**
     * Method that can be used to get an identifier that can be used for diagnostics
     * purposes, to indicate what kind of data format this schema is used for: typically
     * it is a short name of format itself, but it can also contain additional information
     * in cases where data format supports multiple types of schemas.
     *
     * @return Logical name of schema type
     */
    String getSchemaType();
}