Headline
CVE-2022-1379: Import version 1.2022.5 · plantuml/plantuml@93e5964
URL Restriction Bypass in GitHub repository plantuml/plantuml prior to V1.2022.5. An attacker can abuse this to bypass URL restrictions that are imposed by the different security profiles and achieve server side request forgery (SSRF). This allows accessing restricted internal resources/servers or sending requests to third party servers.
@@ -210,6 +210,14 @@ public String toString() { addMagic(SName.usecase); addMagic(SName.map); addMagic(SName.archimate);
// addConvert("nodeStereotypeFontSize", PName.FontSize, SName.node, SName.stereotype); // addConvert("sequenceStereotypeFontSize", PName.FontSize, SName.stereotype); // addConvert("sequenceStereotypeFontStyle", PName.FontStyle, SName.stereotype); // addConvert("sequenceStereotypeFontColor", PName.FontColor, SName.stereotype); // addConvert("sequenceStereotypeFontName", PName.FontName, SName.stereotype);
}
@@ -221,8 +229,14 @@ private static void addMagic(SName sname) { addConvert(cleanName + "RoundCorner", PName.RoundCorner, sname); addConvert(cleanName + "DiagonalCorner", PName.DiagonalCorner, sname); addConvert(cleanName + "BorderStyle", PName.LineStyle, sname); addConvert(cleanName + "StereotypeFontColor", PName.FontColor, SName.stereotype, sname); addConFont(cleanName, sname); addConvert(cleanName + "Shadowing", PName.Shadowing, sname);
addConvert(cleanName + "StereotypeFontSize", PName.FontSize, SName.stereotype, sname); addConvert(cleanName + "StereotypeFontStyle", PName.FontStyle, SName.stereotype, sname); addConvert(cleanName + "StereotypeFontColor", PName.FontColor, SName.stereotype, sname); addConvert(cleanName + "StereotypeFontName", PName.FontName, SName.stereotype, sname);
}
private final List<Style> styles = new ArrayList<>(); @@ -234,7 +248,7 @@ public FromSkinparamToStyle(String key) { if (key.contains(“<<”)) { final StringTokenizer st = new StringTokenizer(key, “<>”); this.key = st.nextToken(); this.stereo = st.hasMoreTokens() ? st.nextToken() : null; this.stereo = st.hasMoreTokens() ? st.nextToken().trim() : null; } else { this.key = key; this.stereo = null; @@ -243,6 +257,12 @@ public FromSkinparamToStyle(String key) { }
public void convertNow(String value, final AutomaticCounter counter) { if (key.endsWith(“shadowing”)) { if (value.equalsIgnoreCase(“false”)) value = "0"; else if (value.equalsIgnoreCase(“true”)) value = "3"; } if (value.equalsIgnoreCase(“right:right”)) value = "right"; if (value.equalsIgnoreCase(“dotted”))
Related news
URL Restriction Bypass in GitHub repository plantuml/plantuml prior to V1.2022.5. An attacker can abuse this to bypass URL restrictions that are imposed by the different security profiles and achieve server side request forgery (SSRF). This allows accessing restricted internal resources/servers or sending requests to third party servers.
This affects the package sds from 0.0.0. The library could be tricked into adding or modifying properties of the Object.prototype by abusing the set function located in js/set.js. **Note:** This vulnerability derives from an incomplete fix to [CVE-2020-7618](https://security.snyk.io/vuln/SNYK-JS-SDS-564123)
IBM MQ (IBM MQ for HPE NonStop 8.1.0) can inadvertently disclose sensitive information under certain circumstances to a local user from a stack trace. IBM X-Force ID: 218853.
IBM WebSphere Application Server Liberty 17.0.0.3 through 22.0.0.5 , with the adminCenter-1.0 feature configured, could allow an authenticated user to issue a request to obtain the status of HTTP/HTTPS ports which are accessible by the application server. IBM X-Force ID: 222078.