Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump semgrep from 0.91.0 to 1.89.0 in /dependencies/python #1872

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 23, 2024

Bumps semgrep from 0.91.0 to 1.89.0.

Release notes

Sourced from semgrep's releases.

Release v1.89.0

1.89.0 - 2024-09-19

Fixed

  • Fix crash on certain SCA parse errors caused by an access to an unbound variable. (gh-2259)

Release v1.88.0

1.88.0 - 2024-09-18

Added

  • The dataflow analysis in the Pro engine can now track method invocations on variables of an interface type, safely assuming that any implementation of the method can be called. For example, tainted input vulnerabilities in both implementation classes can now be detected in the following code:

    public interface MovieService {
      String vulnerableInjection(String input);
    }
    public class SimpleImpl implements MovieService {
    @Override
    public String vulnerableInjection(String input) {
    return sink(input);
    }
    }
    public class MoreImpl implements MovieService {
    @Override
    public String vulnerableInjection(String input) {
    return sink(input);
    }
    }
    public class AppController {
    private MovieService movieService;
    public String pwnTest(String taintedInput) {
    return movieService.vulnerableInjection(taintedInput);
    }
    }
    </code></pre>
    </li>
    <li>
    <p>Type inference for constructor parameter properties in TypeScript is now
    supported in the Pro engine. For example, the taint analysis can recognize that</p>
    </li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a href="https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md&quot;&gt;semgrep's changelog</a>.</em></p>
    <blockquote>
    <h2><a href="https://github.com/returntocorp/semgrep/releases/tag/v1.89.0&quot;&gt;1.89.0&lt;/a> - 2024-09-19</h2>
    <h3>Fixed</h3>
    <ul>
    <li>Fix crash on certain SCA parse errors caused by an access to an unbound variable. (<a href="https://redirect.github.com/returntocorp/semgrep/issues/2259&quot;&gt;gh-2259&lt;/a&gt;)&lt;/li>
    </ul>
    <h2><a href="https://github.com/returntocorp/semgrep/releases/tag/v1.88.0&quot;&gt;1.88.0&lt;/a> - 2024-09-18</h2>
    <h3>Added</h3>
    <ul>
    <li>
    <p>The dataflow analysis in the Pro engine can now track method invocations on
    variables of an interface type, safely assuming that any implementation of the
    method can be called. For example, tainted input vulnerabilities in both
    implementation classes can now be detected in the following code:</p>
    <pre lang="java"><code>public interface MovieService {
    String vulnerableInjection(String input);
    }
    public class SimpleImpl implements MovieService {
    @Override
    public String vulnerableInjection(String input) {
    return sink(input);
    }
    }
    public class MoreImpl implements MovieService {
    @Override
    public String vulnerableInjection(String input) {
    return sink(input);
    }
    }
    public class AppController {
    private MovieService movieService;
    public String pwnTest(String taintedInput) {
    return movieService.vulnerableInjection(taintedInput);
    }
    }
    &lt;/code&gt;&lt;/pre&gt;
    &lt;/li&gt;
    &lt;li&gt;
    &lt;p&gt;Type inference for constructor parameter properties in TypeScript is now
    supported in the Pro engine. For example, the taint analysis can recognize that
    &lt;code&gt;sampleFunction&lt;/code&gt; is defined in &lt;code&gt;AbstractedService&lt;/code&gt; class in the following code:&lt;/p&gt;
    &lt;/li&gt;
    &lt;/ul&gt;
    &lt;!-- raw HTML omitted --&gt;
    &lt;/blockquote&gt;
    &lt;p&gt;... (truncated)&lt;/p&gt;
    &lt;/details&gt;
    &lt;details&gt;
    &lt;summary&gt;Commits&lt;/summary&gt;
    
    &lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/745af77e1e08610c7603ffc133a53e248231f83e&quot;&gt;&lt;code&gt;745af77&lt;/code&gt;&lt;/a&gt; chore: release version 1.89.0&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/11d6c3a5c2497d49ebe28ec552e7e74bea6f4b18&quot;&gt;&lt;code&gt;11d6c3a&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2267&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/0c50b30ed2b5c195504e332f5a6cf481df201661&quot;&gt;&lt;code&gt;0c50b30&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2296&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/9a21f7ff6a712c25d67c5d742bc000855bfb3bf2&quot;&gt;&lt;code&gt;9a21f7f&lt;/code&gt;&lt;/a&gt; fix(sca): fix access to unbound variable in SCA error printing (semgrep/semgr...&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/d46649ea29979bfc6f2be2cfb94dacf528a5fd3c&quot;&gt;&lt;code&gt;d46649e&lt;/code&gt;&lt;/a&gt; chore(style): add style rec from &lt;a href=&quot;https://redirect.github.com/returntocorp/semgrep/issues/2266&quot;&gt;#2266&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2294&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/ac7f9579a935b31d47464ed5abd46b38efcd0094&quot;&gt;&lt;code&gt;ac7f957&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2292&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/ff98e65867e582191b0a49d447cc5456747a4366&quot;&gt;&lt;code&gt;ff98e65&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2291&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/1e4ba14b97197746b1b03465b68a6b97fcb76ab5&quot;&gt;&lt;code&gt;1e4ba14&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2288&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/c22bdc640aef7aea8d2f345da79b86692e2c6426&quot;&gt;&lt;code&gt;c22bdc6&lt;/code&gt;&lt;/a&gt; Cleanup Unit_engine.ml, no need big black list of bad tests (semgrep/semgrep-...&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/4b6f2ec3afb1fb66751e5925707973febf3a82a3&quot;&gt;&lt;code&gt;4b6f2ec&lt;/code&gt;&lt;/a&gt; Release Version 1.88.0 (&lt;a href=&quot;https://redirect.github.com/returntocorp/semgrep/issues/10544&quot;&gt;#10544&lt;/a&gt;)&lt;/li&gt;
    &lt;li&gt;Additional commits viewable in &lt;a href=&quot;https://github.com/returntocorp/semgrep/compare/v0.91.0...v1.89.0&quot;&gt;compare view&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/details&gt;
    
    &lt;br /&gt;
    </code></pre>
    
    
    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=semgrep&package-manager=pip&previous-version=0.91.0&new-version=1.89.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    
    
    </details>

Bumps [semgrep](https://github.com/returntocorp/semgrep) from 0.91.0 to 1.89.0.
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](semgrep/semgrep@v0.91.0...v1.89.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 23, 2024
Copy link
Author

dependabot bot commented on behalf of github Sep 30, 2024

Superseded by #1877.

@dependabot dependabot bot closed this Sep 30, 2024
@dependabot dependabot bot deleted the dependabot/pip/dependencies/python/semgrep-1.89.0 branch September 30, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants