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

[Security] Bump exist-core from 3.2.0 to 5.0.0 #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Sep 3, 2019

⚠️ Dependabot Preview has been deactivated ⚠️

This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to dependabot commands nor will it be automatically closed if a new version is found.

If you close this pull request, Dependabot will re-create it the next time it checks for updates and everything will work as expected.


Bumps exist-core from 3.2.0 to 5.0.0. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects org.exist-db:exist-core
exist version <= 5.0.0-RC4 contains a XML External Entity (XXE) vulnerability in XML Parser for REST Server that can result in Disclosure of confidential data, denial of service, SSRF, port scanning.

Affected versions: < 5.0.0

Release notes

Sourced from exist-core's releases.

eXist-db 5.0.0

Download distributions: https://bintray.com/existdb/releases/exist/5.0.0
Maven Central: https://search.maven.org/search?q=g:org.exist-db

eXist-db 5.0.0-RC8

Download distributions: https://bintray.com/existdb/releases/exist/5.0.0-RC8
Maven Central: https://search.maven.org/search?q=g:org.exist-db

eXist-db 5.0.0-RC7

v5.0.0-RC7 - March 2, 2019

eXist-db 5.0.0-RC7 is a hotfix release. Unfortunately the code restructuring performed in v5.0.0-RC6 caused failures in the Java Service Wrapper.
This will especially impact Windows users, who typically start and stop eXist-db as a service. Using a service is the only way on Windows
to ensure eXist-db is properly stopped on system shutdown. We thus consider this critical and published a hotfix.

Bug Fixes

  • fix classpath for yajsw Java service wrapper
  • fix jnlp webstart for Java admin client
  • fix test failures depending on github location
  • small fix to util:log functions to output string values without leading and closing quote

Download: https://bintray.com/existdb/releases/exist/5.0.0-RC7

eXist-db 5.0.0-RC6

Release Notes

eXist-db 5.0.0-RC5

Release Notes

eXist-db 5.0.0-RC4

Release Notes: http://exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500RC4
Download: https://bintray.com/existdb/releases/exist/5.0.0-RC4

eXist-db 5.0.0-RC3

Release Notes: http://exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500RC3
Download: https://bintray.com/existdb/releases/exist/5.0.0-RC3

eXist-db 5.0.0-RC2

Release Notes: http://exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500RC2
Download: https://bintray.com/existdb/releases/exist/5.0.0-RC2

eXIst-db 5.0.0-RC1

Release Notes: http://exist-db.org/exist/apps/wiki/blogs/eXist/eXistdb500RC1
Download: https://bintray.com/existdb/releases/exist/5.0.0-RC1

... (truncated)
Changelog

Sourced from exist-core's changelog.

eXist Versioning Scheme and Release Process

eXist Logo

Overview

This document describes the Versioning Scheme and Release Process for eXist. These two topics are tightly connected, so both are covered in this document.

  • The Versioning Scheme describes how eXist's source code and releases are named. Version numbers unambiguously inform users and developers about the significance of the release and order relative to past and future versions.

  • The Release Process describes how the Release Manager (the person who orchestrates a release) should take a snapshot (tag) of eXist source code, apply the Versioning Scheme, assemble it, and publish the resulting products. The goal is to have a clear procedure for altering the version number to mark transitions in phases of development leading up to each release, and to ensure that releases are consistently sourced from a specific point in the project repository's history.

The final section of the document describes the old versioning practice, compared to the new one.

Motivation

This proposal is intended to facilitate more rapid releases, with the goal of getting new features and bug fixes out to the community without sacrificing quality or stability. Critical to the success of this effort is achieving a common understanding about version numbers and managing version changes during releases.

Problems with versioning crept in during the long development phase of eXist 3.0, when eXist's version-related properties (as recorded in the $EXIST_HOME/build.properties file) diverged, and as a result, the community struggled with having two ways of talking about eXist's version, e.g., the public label, 3.0.RC2, and the numeric version, 3.0.3.

This proposal was first implemented with eXist 3.1.0, which inaugurated the use of a single version number for all versions of eXist. The document has been refined and expanded since then.

The new versioning scheme uses the popular Semantic Versioning scheme, in which each number here reflects major, minor, and patch versions. This single version-related property will bring clarity and semantic precision to eXist's releases. The Semantic Versioning scheme allows the eXist team to label development versions as snapshots or release candidates, and to release these and nightly builds with clear version numbers.

Paired with a revised set of release procedures, the new versioning scheme ensures the names of new versions of eXist delivered to the community are precise and reliable. Removing versioning ambiguities and clarifying release practices facilitates a rapid cycle of development and release.

Versioning Scheme

eXist follows a widely-used, semantically precise versioning scheme called Semantic Versioning (specifically version 2.0.0) of this scheme. For a complete introduction to Semantic Versioning, please consult the documentation. Here, we summarize how the principles of Semantic Versioning are applied to eXist.

Product Releases

For product releases (also called stable or final releases), a 3-component Semantic Versioning version number is used: "MAJOR.MINOR.PATCH". When a new version is released, its version number is incremented according to the following criteria:

  1. MAJOR versions contain incompatible API changes, including changes to the on-disk format of the database;
  2. MINOR versions add functionality or deprecate API functions, without breaking backward compatibility; and
  3. PATCH versions contain only backwards-compatible bug fixes.

(Any public or protected methods at public or protected classes are eXist-db API)

For example, the 3rd major version of eXist would have the Semantic Version number 3.0.0. A new release following this including new features would be version 3.1.0. A bugfix-only release following that would be version 3.1.1.

NOTE: For the purposes of this present document, we do not define the scope of an API for eXist. This may be defined in a future standalone document.

Pre-Releases

For pre-releases, such as release candidates or snapshots, a 4-component Semantic Versioning version number is used: "MAJOR.MINOR.PATCH-PRERELEASE. We follow Semantic Versioning's definitions for the PRERELEASE label scheme:

  • PRERELEASE is a series of dot separated identifiers, each identifier must use only the following ASCII characters [0-9A-Za-z-] and must not be empty.

  • The presence of PRERELEASE indicates that the version is pre-release and not yet considered stable. Product releases do not have PRERELEASE.

... (truncated)
Commits
  • 5a27d10 [maven-release-plugin] prepare release eXist-5.0.0
  • bc051ff Merge pull request #3000 from adamretter/hotfix/javadoc-5.0.0
  • 401dba1 [bugfix] Fix javadoc
  • 15c8505 Merge pull request #2996 from adamretter/hotfix/service-issues-5.0.0
  • 06c2bbe [bugfix] Remove mdStorage log file, it is no longer used
  • ffd3d20 [bugfix] eXist-db Service on Windows currently requires 'LocalSystem' account...
  • a3f4535 Merge pull request #2985 from wolfgangmm/feature/restore-preserve-apps-5.0.0
  • 65aa824 Merge pull request #2990 from adamretter/refactor/update-deps-5.0.0
  • 28c033c Merge pull request #2989 from adamretter/hotfix/installer-missing-artifacts-5...
  • e11be38 [bugfix] Update test for new API
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [exist-core](https://github.com/exist-db/exist) from 3.2.0 to 5.0.0. **This update includes a security fix.**
- [Release notes](https://github.com/exist-db/exist/releases)
- [Changelog](https://github.com/eXist-db/exist/blob/develop/exist-versioning-release.md)
- [Commits](eXist-db/exist@eXist-3.2.0...eXist-5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies security Pull requests that address a security vulnerability labels Sep 3, 2019
@joewiz
Copy link
Member

joewiz commented Jun 8, 2020

@adamretter Should this PR be merged to facilitate compatibility with eXist 5.x?

@adamretter
Copy link
Member

@joewiz I hope it is still compatible as is with eXist-db 5, although I have not had the time to test it. Did you find an issue?

@joewiz
Copy link
Member

joewiz commented Jun 9, 2020

When performing mvn install on exquery/expath-file-module as instructed in the README here, I get this error:

[INFO] --- license-maven-plugin:3.0:check (default) @ expath-file-module-lib ---
[INFO] Checking licenses...
[WARNING] Missing header in: /Users/joe/workspace/exquery/expath-file-module/src/test/scala/org/exquery/expath/module/file/FileModuleSpec.scala
[WARNING] Missing header in: /Users/joe/workspace/exquery/expath-file-module/src/main/scala/org/exquery/expath/module/file/FileModule.scala
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  22.512 s
[INFO] Finished at: 2020-06-09T11:15:37-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.mycila:license-maven-plugin:3.0:check (default) on project expath-file-module-lib: Some files do not have the expected license header -> [Help 1]

Perhaps I should open an issue in the https://github.com/exquery/exquery repository?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants