Exploit database

GH-9a017fa45abc7e1f8f6ba6e1285cae54

iplayforsg/cve-2023-51444

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-51444

1 source

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

Repository files6

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

extension/vectortiles/src/main/java/org/geoserver/wms/vector/VectorTileBuilderFactory.java

Java · 1,696 bytes
/* (c) 2015 Open Source Geospatial Foundation - all rights reserved
 * This code is licensed under the GPL 2.0 license, available at the root
 * application directory.
 */
package org.geoserver.wms.vector;

import java.awt.Rectangle;
import java.util.Set;
import org.geotools.geometry.jts.ReferencedEnvelope;

public interface VectorTileBuilderFactory {

    /**
     * A set of identifiers for the format produced by builders from this factory. May include MIME
     * type or file extension.
     */
    Set<String> getOutputFormats();

    /** The MIME type of the format produced by builders from this factory. */
    String getMimeType();

    /**
     * Create a builder
     *
     * @param screenSize The extent of the tile in screen coordinates
     * @param mapArea The extent of the tile in target CRS coordinates
     */
    VectorTileBuilder newBuilder(Rectangle screenSize, ReferencedEnvelope mapArea);

    /**
     * Whether tiles from this builder should be "oversampled", that is, "rendered" at a higher
     * resolution than the tile resolution. The motivation for this is Mapbox vector tiles, which
     * are rendered in screen space per tile and have inconsistent behavior while zooming at lower
     * resolutions.
     *
     * @return whether this builder requires oversampling. defaults to false.
     */
    default boolean shouldOversampleScale() {
        return false;
    }

    /** @return the horizontal oversampling factor. default is 1, no oversampling */
    default int getOversampleX() {
        return 1;
    }

    /** @return the vertical oversampling factor. default is 1, no oversampling */
    default int getOversampleY() {
        return 1;
    }
}